Documentation
¶
Overview ¶
Package register - A collection of types used for registering endpoints across the leaps library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointRegister ¶
type EndpointRegister interface {
// Register - Register an endpoint handler with a description.
Register(endpoint, description string, handler http.HandlerFunc)
}
EndpointRegister - An interface for registering HTTP API endpoints.
type PubPrivEndpointRegister ¶
type PubPrivEndpointRegister interface {
// RegisterPrivate - Register a public endpoint handler with a description.
RegisterPublic(endpoint, description string, handler http.HandlerFunc) error
// RegisterPrivate - Register a private endpoint handler with a description.
RegisterPrivate(endpoint, description string, handler http.HandlerFunc) error
}
PubPrivEndpointRegister - An interface for registering public or private HTTP API endpoints. The public endpoints are user facing and the private endpoints are intended for internal administrative usage.
Click to show internal directories.
Click to hide internal directories.