Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Server ¶
func Server(addr string, config ServerConfig)
func ServerWithConfig ¶
func ServerWithConfig(addr, configPath string)
func ServerWithDefaultConfig ¶
func ServerWithDefaultConfig(addr string)
Types ¶
type ServerConfig ¶
type ServerConfig struct {
Metrics []ServerStateMetrics `yaml:"Metrics"`
}
type ServerState ¶
type ServerState struct {
Metrics []ServerStateMetrics `yaml:"Metrics"`
}
var State ServerState
type ServerStateMetrics ¶
Click to show internal directories.
Click to hide internal directories.