servermetric

package
v0.20.13 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRole

func GetRole() metric.RoleType

func IsHealthy

func IsHealthy() (bool, string)

func SetMesosMaster

func SetMesosMaster(master string)

func SetRole

func SetRole(role metric.RoleType)

Types

type ServerMetric

type ServerMetric struct {
	// contains filtered or unexported fields
}
var (
	Metrics ServerMetric
)

Jump to

Keyboard shortcuts

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