runstate

package
v6.5.1-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunState

type RunState int
const (
	New      RunState = 0 // State of a newly created Factomd object
	Booting  RunState = 1 // State when starting up the server
	Running  RunState = 2 // State when doing processing
	Stopping RunState = 3 // State when shutdown has been called but not finished
	Stopped  RunState = 4 // State when shutdown has been completed
)

func (RunState) IsTerminating

func (runState RunState) IsTerminating() bool

IsTerminating returns true if factomd is terminated or in the process of terminating

func (RunState) String

func (runState RunState) String() string

String returns the current run state as a string

Jump to

Keyboard shortcuts

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