agentserver

package
v1.1.93 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrServerError = erx.New("Agent Server", "HTTP server failed to operate properly")

ErrServerError is returned when there was a problem with starting or stopping the Agent HTTP Server.

Functions

This section is empty.

Types

type Server

type Server interface {
	http.Handler
	ListenAndServer(address string) error
	IsListening() bool
	IsSynced() bool
	Stop()
}

func New

func New(agent agent.Agent) Server

Jump to

Keyboard shortcuts

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