Versions in this module Expand all Collapse all v1 v1.31.1 Nov 1, 2023 v1.31.0 Oct 20, 2023 Changes in this version + var CtxKeyProvider = contextKey("provider") + var CtxKeyProviderName = contextKey("provider name") + var CtxKeyProxy = contextKey("proxy") + var CtxKeyProxyName = contextKey("proxy name") + var ErrBadRequest = newError("Body invalid") + var ErrForbidden = newError("Forbidden") + var ErrNotFound = newError("Resource not found") + var ErrRequestTimeout = newError("Timeout") + var ErrUnauthorized = newError("Unauthorized") + func SetPPROF(pprof bool) + func SetUIPath(path string) + func Start(addr string, secret string) + type HTTPError struct + Message string + func (e *HTTPError) Error() string + type Log struct + Payload string + Type string + type Rule struct + Payload string + Proxy string + Type string + type Traffic struct + Down int64 + Up int64