Implement top shares page
This commit is contained in:
@@ -23,6 +23,7 @@ func NewWebServer(db *clover.DB, port int) *WebServer {
|
||||
func (ws *WebServer) Start() error {
|
||||
http.HandleFunc("/", ws.IndexHandler)
|
||||
http.HandleFunc("/shares", ws.SharesHandler)
|
||||
http.HandleFunc("/top-shares", ws.TopSharesHandler)
|
||||
|
||||
address := ":" + fmt.Sprint(ws.port)
|
||||
println("Listening on", address)
|
||||
|
||||
Reference in New Issue
Block a user