Documentation ¶
Index ¶
- type Data
- func (d *Data) SetApiTime(duration time.Duration, path string)
- func (d *Data) SetEndBlockDuration(timeEnd time.Time, height uint64)
- func (d *Data) SetPeerTime(duration time.Duration, network string)
- func (d *Data) SetStartBlock(height uint64, now time.Time, headerTime time.Time)
- func (d *Data) Statistic(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { BlockStart struct { sync.Mutex // contains filtered or unexported fields } BlockEnd blockEnd Api apiResponseTime Peer peerPing }
func (*Data) SetEndBlockDuration ¶
func (*Data) SetStartBlock ¶
Click to show internal directories.
Click to hide internal directories.