package
5.21.5+incompatible
Repository: https://github.com/sensu/sensu-go.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
AuthenticationSubrouter initializes a subrouter that handles all authentication requests.
CoreSubrouter initializes a subrouter that handles all requests coming to /api/core/v2.
EntityLimitedCoreSubrouter initializes a subrouter that handles all requests coming to /api/core/v2 that must be gated by entity limits.
GraphQLSubrouter initializes a subrouter that handles all requests for GraphQL.
New creates a new APId.
NewRouter creates a new mux router that implements the http.Handler interface and serves all requests.
NewSubrouter returns new router given route and set of middleware.
PublicSubrouter initializes a subrouter that handles all requests to public endpoints.
# Structs
APId is the backend HTTP API.
Config configures APId.
WrappedRouter is equivelant to mux.Router with the addition that any time it handles a request the given middleware stack is applied first.
# Type aliases
Option is a functional option.