current

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2023 License: BSD-2-Clause Imports: 3 Imported by: 9

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

func (a Activity) ConvertToRoundState() (states.Round, error)

ConvertToRoundState converts an Activity to a valid round state or returns an error if it is invalid.

func (Activity) String

func (a Activity) String() string

String returns the string representation of the Activity. This functions adheres to the fmt.Stringer interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL