Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServerPool domain.ServerPool
ServerPool struct for server pool
Functions ¶
func GetAttemptsFromContext ¶
GetAttemptsFromContext returns the attempts for request
func GetRetryFromContext ¶
GetAttemptsFromContext returns the attempts for request
func HealthCheck ¶
func HealthCheck()
HealthCheck runs a routine for check status of the backends every 2 mins
Types ¶
type ProxyHandler ¶
type ProxyHandler struct {
Service services.DefaultProxyService
}
ProxyHandler handler for proxy funcionalities
func (*ProxyHandler) ProxyGateway ¶
func (ph *ProxyHandler) ProxyGateway(endpoints domain.ProxyEndpoint, engine, key, securityType string)
ProxyGateway handler for management all request
func (*ProxyHandler) SaveSecretKEY ¶
func (ph *ProxyHandler) SaveSecretKEY(engine, key, apikey string)
SaveSecretKEY handler for save secrets
type ResponseMiddleware ¶
ResponseMiddleware struct for middleware responses
Click to show internal directories.
Click to hide internal directories.