Documentation ¶
Index ¶
Constants ¶
View Source
const ( NOT_STARTED = Activity(iota) WAITING PRECOMPUTING STANDBY REALTIME COMPLETED ERROR CRASH NUM_STATES )
List of Activities.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity uint32
Activity describes the activity a server has be doing.
func (Activity) ConvertToRoundState ¶
ConvertToRoundState converts an Activity to a valid round state or returns an error if it is invalid.
Click to show internal directories.
Click to hide internal directories.