Documentation ¶
Index ¶
- func Client(logger log.Logger) middleware.Middleware
- func ClientCorrelationIdInjector() middleware.Middleware
- func Server(logger log.Logger) middleware.Middleware
- func ServerCorrelationIdInjector() middleware.Middleware
- func ServerSecurityHeaderValidator() middleware.Middleware
- func Validator() middleware.Middleware
- type CtxKey
- type Redacter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Client ¶
func Client(logger log.Logger) middleware.Middleware
Client is a client logging middleware.
func ClientCorrelationIdInjector ¶
func ClientCorrelationIdInjector() middleware.Middleware
ClientCorrelationIdInjector middleware injects the correlation ID into the client request header
func Server ¶
func Server(logger log.Logger) middleware.Middleware
Server is a server logging middleware.
func ServerCorrelationIdInjector ¶
func ServerCorrelationIdInjector() middleware.Middleware
ServerCorrelationIdInjector middleware injects the correlation ID into the server context
func ServerSecurityHeaderValidator ¶
func ServerSecurityHeaderValidator() middleware.Middleware
ServerSecurityHeaderValidator middleware validates the presence of required security headers
Types ¶
Click to show internal directories.
Click to hide internal directories.