package
0.11.0
Repository: https://github.com/elastic/elastic-agent-libs.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddHandlerFunc adds a handler to the global handler map.
DefaultConfig is the default configuration used by the API endpoint.
MakeAPIHandler creates an API handler for the given namespace.
MakeRootAPIHandler creates a HandlerFunc for the root / path.
New creates a new API Server.
NewFromConfig creates a new API server from the given Config object.
NewWithDefaultRoutes creates a new server with default API routes.

# Structs

Config is the configuration for the API endpoint.
Server takes cares of correctly starting the HTTP component of the API and will answers all the routes defined in the received ServeMux.

# Type aliases

HandlerFunc is an http callback.