runstate

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 1 Imported by: 22

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