package
0.0.0-20200423184530-e047a6308a51
Repository: https://github.com/sjanota/kyma.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewActiveEventsHandler creates handler to handle subscribedevents endpoint.
NewErrorHandler creates a new ErrorHandler with the given code and message.
NewEventsHandler creates an http.Handler to handle the events endpoint.
NewHandler creates http.Handler(s) for the /v1/events /v2/events /v1/events/subscribed and /v1/health endpoints.
NewHealthCheckHandler creates handler for performing health check.
NewPermanentRedirectionHandler creates an http.Handler to handle the /v2/events legacy endpoint.
# Structs
An ErrorHandler represents an error with a message and a status code.
# Interfaces
SubscribedEventsHandler is an interface representing handler for the /v1/subscribedevents endpoint.