package
1.1.0-beta1
Repository: https://github.com/d3sw/replicator.git
Documentation: pkg.go.dev

# Functions

CodedError returns an interface to the Replicator HTTP error code.
Listener can be used to get a new listener using a custom bind address.
NewHTTPServer starts the HTTP API server for the Replicator agent.

# Constants

ErrInvalidMethod is used if the HTTP method is not supported.

# Variables

JSONHandle is the codec that handles to JSON encode structs.

# Structs

Command is the agent command structure used to track passed args as well as the CLI meta.
HTTPServer is used to wrap an Agent and expose it over an HTTP interface.

# Interfaces

HTTPCodedError is used to provide the HTTP error code.