Versions in this module Expand all Collapse all v0 v0.9.0 Apr 4, 2019 Changes in this version + const NEGOTIATE + func CustomErrorEndpointHandler(configuration *config.EndpointConfig, prxy proxy.Proxy, ...) gin.HandlerFunc + func DebugHandler(logger logging.Logger) gin.HandlerFunc + func DefaultFactory(proxyFactory proxy.Factory, logger logging.Logger) router.Factory + func EndpointHandler(configuration *config.EndpointConfig, proxy proxy.Proxy) gin.HandlerFunc + func NewFactory(cfg Config) router.Factory + func NewRequest(headersToSend []string) func(*gin.Context, []string) *proxy.Request + func RegisterRender(name string, r Render) + type Config struct + Engine *gin.Engine + HandlerFactory HandlerFactory + Logger logging.Logger + Middlewares []gin.HandlerFunc + ProxyFactory proxy.Factory + RunServer RunServerFunc + type HandlerFactory func(*config.EndpointConfig, proxy.Proxy) gin.HandlerFunc + type Render func(*gin.Context, *proxy.Response) + type RunServerFunc func(context.Context, config.ServiceConfig, http.Handler) error