Documentation ¶
Index ¶
- func Hostname(c *gin.Context)
- func HostnameWithoutRequestContext(c context.Context) context.Context
- func Logger(c *gin.Context)
- func LoggerWithoutRequestContext(c context.Context) context.Context
- func NoRequestContext(c context.Context) context.Context
- func RefreshRequestIDContext(c context.Context) context.Context
- func RequestID(c *gin.Context)
- func RequestIDWithNoRequestContext(c context.Context) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HostnameWithoutRequestContext ¶
HostnameWithoutRequestContext gets the hostname os and add it to app context
func LoggerWithoutRequestContext ¶
LoggerWithoutRequestContext sets up a new logger with application context
func NoRequestContext ¶
NoRequestContext sets up a new application context based on a context
func RefreshRequestIDContext ¶
RefreshRequestIDContext refresh requestID in application context
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.