Documentation ¶
Index ¶
- Constants
- func AddRequestIdToContextAndResponse(next http.Handler) http.Handler
- func CorsHandling(next http.Handler) http.Handler
- func PanicRecoverer(next http.Handler) http.Handler
- func RequestLogger(next http.Handler) http.Handler
- func TokenValidator(next http.Handler) http.Handler
- type AllClaims
- type CustomClaims
Constants ¶
View Source
const TraceIdHeader = "X-Request-Id"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AllClaims ¶
type AllClaims struct { jwt.RegisteredClaims CustomClaims }
Click to show internal directories.
Click to hide internal directories.