Documentation ¶
Index ¶
- func EchoAppendMiddleware(echoTelemetry EchoTelemetry, mf ...echo.MiddlewareFunc) []echo.MiddlewareFunc
- func EchoLogger(l logger.Manager, pathNotLogged ...string) echo.MiddlewareFunc
- func EchoMetrics(opts ...EchoMetricOption) echo.MiddlewareFunc
- func EchoResponseWithProperRequestId(log logger.Manager) echo.MiddlewareFunc
- func EchoStaticMiddleware() echo.MiddlewareFunc
- func EchoWithAuthApiKeySecrets(maps []ApiKeySecretMap) echo.MiddlewareFunc
- func EchoWithAuthApiKeySecretsWithBlacklistClient(maps []ApiKeySecretMap, clientIds ...string) echo.MiddlewareFunc
- func EchoWithAuthApiKeySecretsWithWhitelistClient(maps []ApiKeySecretMap, clientIds ...string) echo.MiddlewareFunc
- func EchoWithAuthToken(am auth.OAuthManager, realm, clientID string, clientSecret string, ...) echo.MiddlewareFunc
- func EchoWithClientAuthorization(ac auth.ClientManager, log logger.Manager) echo.MiddlewareFunc
- func EchoWithSecurityHeader(overrides map[string]string) echo.MiddlewareFunc
- type ApiKeySecretMap
- type EchoHttpError
- type EchoMetricOption
- type EchoOpt
- type EchoTelemetry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EchoAppendMiddleware ¶
func EchoAppendMiddleware(echoTelemetry EchoTelemetry, mf ...echo.MiddlewareFunc) []echo.MiddlewareFunc
func EchoLogger ¶
EchoLogger is the logrus logger handler
func EchoMetrics ¶
func EchoMetrics(opts ...EchoMetricOption) echo.MiddlewareFunc
func EchoStaticMiddleware ¶ added in v0.1.0
func EchoStaticMiddleware() echo.MiddlewareFunc
func EchoWithAuthApiKeySecrets ¶
func EchoWithAuthApiKeySecrets(maps []ApiKeySecretMap) echo.MiddlewareFunc
func EchoWithAuthApiKeySecretsWithBlacklistClient ¶
func EchoWithAuthApiKeySecretsWithBlacklistClient(maps []ApiKeySecretMap, clientIds ...string) echo.MiddlewareFunc
func EchoWithAuthApiKeySecretsWithWhitelistClient ¶
func EchoWithAuthApiKeySecretsWithWhitelistClient(maps []ApiKeySecretMap, clientIds ...string) echo.MiddlewareFunc
func EchoWithAuthToken ¶
func EchoWithAuthToken(am auth.OAuthManager, realm, clientID string, clientSecret string, permissionScope string) echo.MiddlewareFunc
func EchoWithClientAuthorization ¶ added in v0.3.2
func EchoWithClientAuthorization(ac auth.ClientManager, log logger.Manager) echo.MiddlewareFunc
func EchoWithSecurityHeader ¶
Types ¶
type ApiKeySecretMap ¶
type EchoHttpError ¶
type EchoHttpError interface { Middleware() echo.MiddlewareFunc Handler(err error, c echo.Context) }
func NewEchoHttpError ¶
func NewEchoHttpError(tm telemetry.Manager, l logger.Manager) EchoHttpError
type EchoMetricOption ¶
type EchoMetricOption func(*echoMetricConfig)
EchoMetricOption represents an option that can be passed to Middleware.
func EchoMetricWithEnv ¶
func EchoMetricWithEnv(env string) EchoMetricOption
func EchoMetricWithMetrics ¶
func EchoMetricWithMetrics(metric telemetry.MetricsManager) EchoMetricOption
func EchoMetricWithName ¶
func EchoMetricWithName(name string) EchoMetricOption
func EchoMetricWithTelemetry ¶
func EchoMetricWithTelemetry(oTel telemetry.Manager) EchoMetricOption
type EchoOpt ¶
type EchoOpt interface {
// contains filtered or unexported methods
}
func EchoWithBodyTrace ¶
func EchoWithMaskedHeaders ¶
func EchoWithSkipper ¶
func EchoWithSkipper(skipper middleware.Skipper) EchoOpt
func EchoWithTracerName ¶
type EchoTelemetry ¶
type EchoTelemetry interface { EchoOTelPre() echo.MiddlewareFunc EchoOTel() echo.MiddlewareFunc }
func NewEchoTelemetryMiddleware ¶
func NewEchoTelemetryMiddleware(otm telemetry.Manager, opts ...EchoOpt) EchoTelemetry
Click to show internal directories.
Click to hide internal directories.