Documentation
¶
Index ¶
- Constants
- func ExtractRequestIndex(c *gin.Context) (string, error)
- func ExtractRequestIndexAsField(c *gin.Context) (zap.Field, error)
- func ExtractRequestIndexFromCtxAsField(ctx context.Context) (zap.Field, error)
- func GenContextWithRequestIndex(c *gin.Context) context.Context
- func MustExtractRequestIndex(c *gin.Context) string
- func MustExtractRequestIndexAsField(c *gin.Context) zap.Field
- func MustExtractRequestIndexFromCtxAsField(ctx context.Context) zap.Field
Constants ¶
View Source
const (
CtxKeyRequestIndex = "request-index"
)
View Source
const (
GinKeyRequestIndex = "request-index"
)
View Source
const (
ZapKeyRequestIndex = "request-index"
)
Variables ¶
This section is empty.
Functions ¶
func MustExtractRequestIndex ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.