server

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: BSD-3-Clause Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v0.0.2

type Server struct {
	// contains filtered or unexported fields
}

Server defines the listening servers

func New added in v0.0.2

New creates a new instance of the listening servers

func (*Server) GetMetrics added in v1.1.0

func (s *Server) GetMetrics(conduits []string, id string) cgm.Metrics

GetMetrics collects metrics from the various conduits and returns them for disposition

func (*Server) GetReverseAgentAddress added in v0.6.0

func (s *Server) GetReverseAgentAddress() (string, error)

GetReverseAgentAddress returns the address reverse should use to talk to the agent. Initially, this is the first server address.

func (*Server) Start added in v0.0.2

func (s *Server) Start() error

Start main listening server(s)

func (*Server) Stop added in v0.0.3

func (s *Server) Stop()

Stop the servers in an orderly, graceful fashion

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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