Versions in this module Expand all Collapse all v1 v1.1.0 Jul 10, 2019 Changes in this version + type ApiConfig struct + Blocks int64 + Enabled bool + HashrateLargeWindow string + HashrateWindow string + Listen string + LuckWindow []int + Payments int64 + PurgeInterval string + PurgeOnly bool + StatsCollectInterval string + type ApiServer struct + func NewApiServer(cfg *ApiConfig, backend *storage.RedisClient) *ApiServer + func (s *ApiServer) AccountIndex(w http.ResponseWriter, r *http.Request) + func (s *ApiServer) BlocksIndex(w http.ResponseWriter, r *http.Request) + func (s *ApiServer) MinersIndex(w http.ResponseWriter, r *http.Request) + func (s *ApiServer) PaymentsIndex(w http.ResponseWriter, r *http.Request) + func (s *ApiServer) Start() + func (s *ApiServer) StatsIndex(w http.ResponseWriter, r *http.Request) + type Entry struct