monitoring

package
v0.0.0-...-3f85c9d Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RestHost        string
	RestPort        int
	ShutdownTimeout int
}

Config -

type MonitorServer

type MonitorServer struct {
	Config     *Config
	Router     *mux.Router
	HttpServer *http.Server
}

MonitorServer -

func NewMonitorServer

func NewMonitorServer() (*MonitorServer, error)

NewMonitorServer - Create new Monitoring REST server

func (*MonitorServer) Shutdown

func (s *MonitorServer) Shutdown()

Shutdown - Shutdown Monitoring REST server

func (*MonitorServer) Start

func (s *MonitorServer) Start()

Start - Start Monitoring REST server

Jump to

Keyboard shortcuts

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