package
0.0.0-20190109151737-6637ac4559f7
Repository: https://github.com/xtracdev/xavi.git
Documentation: pkg.go.dev

# Functions

NewAgent created a new Agent instance.
NewAPIService instantiates an API service instance with the given command.

# Variables

BackendDefCmd is the exported backend service instance used to expose an API service.
ListenerDefCmd is the interface instance used to expose as an API endpoint.
RouteDefCmd is the RouteDef instance used to expose as an API endpoint.
ServerDefCmd is the ServerDef instance used to expose as an API endpoint.
SpawnKillerDefCmd is the SpawnKillerDef instance used to expose as an API endpoint.
SpawnListenerDefCmd is the SpawnKillerDef instance used to expose as an API endpoint.

# Structs

Agent specifies the address, handlers, and KVS used to expose commands via a REST interface.
APIService exposes APICommand instances as REST services.
BackendDef is used to hang the ApiCommand functions needed for exposing backend def capabilitiesvia a REST API.
ListenerDef is used to hang the ApiCommand functions needed for exposing listener def capabilitiesvia a REST API.
RouteDef is used to hang the ApiCommand functions needed for exposing route def capabilitiesvia a REST API.
ServerDef is used to hang the ApiCommand functions needed for exposing server def capabilitiesvia a REST API.
SpawnKillerDef is used to hang the ApiCommand functions needed for killing spawned processesvia a REST API.
SpawnListenerDef is used to hang the ApiCommand functions needed for spawning xavi instances.

# Interfaces

APICommand defines common functionality that web api enabled configurationservices must implement.