Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EpochScoreResp ¶ added in v0.0.46
type EpochTotalStatsResp ¶ added in v0.0.46
type InternalServer ¶ added in v0.0.7
type InternalServer struct {
// contains filtered or unexported fields
}
func NewInternalServer ¶ added in v0.0.7
func NewInternalServer(ctx context.Context, logger logging.Logger) *InternalServer
func (*InternalServer) OnQueryHealthCheckup ¶ added in v0.0.7
func (s *InternalServer) OnQueryHealthCheckup(w http.ResponseWriter, r *http.Request)
func (*InternalServer) OnQuerySetEpoch ¶ added in v0.0.7
func (s *InternalServer) OnQuerySetEpoch(w http.ResponseWriter, r *http.Request)
func (*InternalServer) Run ¶ added in v0.0.7
func (s *InternalServer) Run() error
func (*InternalServer) Shutdown ¶ added in v0.0.7
func (s *InternalServer) Shutdown() error
type MultiEpochScoreResp ¶ added in v0.0.58
type MultiEpochScoreResp struct { TotalFee map[string]string `json:"totalFee"` DaoFee map[string]string `json:"daoFee"` BaseDaoFee map[string]string `json:"baseDaoFee"` AverageOI map[string]string `json:"averageOI"` AverageStake map[string]string `json:"averageStake"` Score string `json:"score"` Proportion string `json:"proportion"` }
type TMServer ¶
type TMServer struct {
// contains filtered or unexported fields
}
func (*TMServer) OnQueryMultiScore ¶ added in v0.0.58
func (s *TMServer) OnQueryMultiScore(w http.ResponseWriter, r *http.Request)
func (*TMServer) OnQueryScore ¶ added in v0.0.46
func (s *TMServer) OnQueryScore(w http.ResponseWriter, r *http.Request)
func (*TMServer) OnQueryTotalStats ¶ added in v0.0.46
func (s *TMServer) OnQueryTotalStats(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.