Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RequestIDKey requestID key RequestIDKey = "x-request-id" // UsernameKey username key UsernameKey = "x-username" )
Variables ¶
This section is empty.
Functions ¶
func GetHeaderFirst ¶
GetHeaderFirst get header first value
func GetRequestID ¶
GetRequestID request id from header
func GetUsername ¶
GetUsername get username from header
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.