health

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2018 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHealth

func GetHealth() (*map[string]string, error)

GetHealth Returns the gostint health status

func GetState

func GetState() string

GetState Returns the gostint node's state

func Init

func Init(db *mgo.Database, nodeUUID string)

Init initialises

func SetState

func SetState(s string)

SetState sets the node's State

Types

type State

type State struct {
	State string
	// contains filtered or unexported fields
}

State holds the gostint nodes health and state

Jump to

Keyboard shortcuts

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