Documentation
¶
Index ¶
- Variables
- func BasicAuth(realm string, credentials map[string]string) func(next http.Handler) http.Handler
- func GetRequestID(ctx context.Context) string
- func Logger(next http.Handler) http.Handler
- func NoCache(next http.Handler) http.Handler
- func Recoverer(next http.Handler) http.Handler
- func RequestID(next http.Handler) http.Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestIDHeader = "X-Request-ID"
Functions ¶
func GetRequestID ¶
GetReqID returns a request ID from the given context if one is present. Returns the empty string if a request ID cannot be found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.