Documentation ¶
Index ¶
Constants ¶
View Source
const ( RangeWeek sr = 0 RangeMonth sr = 1 RangeHalfYear sr = 2 RangeYear sr = 3 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State uint8
func ParseState ¶
func (*State) MarshalJSON ¶
func (*State) UnmarshalJSON ¶
type Stats ¶
type Stats struct { RegisteredUsers uint64 `json:"registered_users"` ProofsGenerated uint64 `json:"proofs_generated"` ProversDeployed uint64 `json:"programs"` ProofsVerified uint64 `json:"proofs_verified"` RegisteredUsersDelta float64 `json:"registered_users_delta"` ProofsGeneratedDelta float64 `json:"proofs_generated_delta"` ProversDeployedDelta float64 `json:"programs_delta"` ProofsVerifiedDelta float64 `json:"proofs_verified_delta"` }
type StatsRange ¶
type StatsRange interface { String() string // contains filtered or unexported methods }
func ParseStatsRange ¶
func ParseStatsRange(r string) (StatsRange, error)
func SupportedStatsRanges ¶
func SupportedStatsRanges() []StatsRange
Click to show internal directories.
Click to hide internal directories.