Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FasterTime ¶
type FasterTime struct {
// contains filtered or unexported fields
}
type TimeService ¶
type TimeService interface { GetEpochTime() uint64 GetEpochTimeMillis() uint64 SetTime(fasterTime *FasterTime) }
type TimeServiceImpl ¶
type TimeServiceImpl struct {
// contains filtered or unexported fields
}
func NewTimeServiceImpl ¶
func NewTimeServiceImpl() TimeServiceImpl
func (*TimeServiceImpl) GetEpochTime ¶
func (ti *TimeServiceImpl) GetEpochTime() uint64
func (*TimeServiceImpl) GetEpochTimeMillis ¶
func (ti *TimeServiceImpl) GetEpochTimeMillis() uint64
func (*TimeServiceImpl) SetTime ¶
func (ti *TimeServiceImpl) SetTime(fasterTime *FasterTime)
Click to show internal directories.
Click to hide internal directories.