package
0.9.0
Repository: https://github.com/devopsfaith/krakend.git
Documentation: pkg.go.dev

# Functions

CustomErrorEndpointHandler implements the HandleFactory interface.
DebugHandler creates a dummy handler function, useful for quick integration tests.
DefaultFactory returns a gin router factory with the injected proxy factory and logger.
EndpointHandler implements the HandleFactory interface using the default ToHTTPError function.
NewFactory returns a gin router factory with the injected configuration.
NewRequest gets a request from the current gin context and the received query string.
RegisterRender allows clients to register their custom renders.

# Constants

NEGOTIATE defines the value of the OutputEncoding for the negotiated render.

# Structs

Config is the struct that collects the parts the router should be builded from.

# Type aliases

HandlerFactory creates a handler function that adapts the gin router with the injected proxy.
Render defines the signature of the functions to be use for the final response encoding and rendering.
RunServerFunc is a func that will run the http Server with the given params.