Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppBuild string GitCommit string )
Functions ¶
func Serve ¶
func Serve(opts ServerOptions)
Types ¶
type ContractFilterConfig ¶
type CoopStatus ¶
type CoopStatus struct { *coop.CoopStatus Activities map[string]*coop.CoopMemberActivity Filtered bool }
func (*CoopStatus) OfflineAdjustedEggsLaid ¶
func (c *CoopStatus) OfflineAdjustedEggsLaid() float64
func (*CoopStatus) OfflineAdjustedExpectedDurationUntilFinish ¶
func (c *CoopStatus) OfflineAdjustedExpectedDurationUntilFinish() time.Duration
func (*CoopStatus) ProgressInfo ¶
func (c *CoopStatus) ProgressInfo() *contract.ProgressInfo
type ServerOptions ¶
type ServerOptions struct { BindAddr string Dev bool ConfigDeprecations config.Deprecations }
type SoloCoopStatus ¶
type SoloCoopStatus struct { ContractId string ContractName string IsSolo bool Solo *SoloStatus Coop *CoopStatus }
SoloCoopStatus is a unified type for solos and coops to facilitate sorting. For solos, Solo is set and Coop is nil; and vice versa.
type SoloStatus ¶
type SoloStatus struct { *solo.SoloContract ClientRefreshTime time.Time Filtered bool }
func (*SoloStatus) OfflineAdjustedEggsLaid ¶
func (s *SoloStatus) OfflineAdjustedEggsLaid() float64
func (*SoloStatus) OfflineAdjustedExpectedDurationUntilFinish ¶
func (s *SoloStatus) OfflineAdjustedExpectedDurationUntilFinish() time.Duration
func (*SoloStatus) ProgressInfo ¶
func (s *SoloStatus) ProgressInfo() *contract.ProgressInfo
Click to show internal directories.
Click to hide internal directories.