monitoring

package
v0.0.0-...-e78cd55 Latest Latest
Warning

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

Go to latest
Published: May 2, 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 {
	MonitorHost string
	MonitorPort int
}

type Server

type Server struct {
	Config     *Config
	Router     *mux.Router
	HTTPServer *http.Server
	Running    bool
}

func NewMonitorServer

func NewMonitorServer() *Server

NewMonitorServer - Create new Monitoring server

func (*Server) Shutdown

func (s *Server) Shutdown(timeout int)

Shutdown - Shutdown Monitoring server

func (*Server) Start

func (s *Server) Start()

Start - Start Monitoring server

Jump to

Keyboard shortcuts

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