Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRequestID ¶
func GenerateRequestID() string
GenerateRequestID generates a BASE32 based Request ID
func GinMiddleware ¶
func GinMiddleware(opts ...Option) gin.HandlerFunc
GinMiddleware is a middleware for Gin framework
Types ¶
type Option ¶
type Option func(*ginConfig)
Option for queue system
func GinWithCustomHeaderStrKey ¶
GinWithCustomHeaderStrKey set custom header key for request id
func GinWithCustomParamStrKey ¶
GinWithCustomParamStrKey set custom param key for request id
Click to show internal directories.
Click to hide internal directories.