Documentation ¶
Index ¶
- type Calculator
- type LockedCalculator
- type Manager
- type State
- type TestManager
- type TestState
- func (s *TestState) AddNode(nodeID ids.ShortID, startTime time.Time)
- func (s *TestState) GetStartTime(nodeID ids.ShortID) (time.Time, error)
- func (s *TestState) GetUptime(nodeID ids.ShortID) (time.Duration, time.Time, error)
- func (s *TestState) SetUptime(nodeID ids.ShortID, upDuration time.Duration, lastUpdated time.Time) error
- type Tracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calculator ¶
type LockedCalculator ¶
type LockedCalculator interface { Calculator SetCalculator(ctx *snow.Context, newC Calculator) }
func NewLockedCalculator ¶
func NewLockedCalculator() LockedCalculator
type TestManager ¶
type TestState ¶
type TestState struct {
// contains filtered or unexported fields
}
func NewTestState ¶
func NewTestState() *TestState
func (*TestState) GetStartTime ¶
Click to show internal directories.
Click to hide internal directories.