package
1.0.25
Repository: https://github.com/why444216978/gin-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
ExtractLogID init log id.
No description provided by the author
GetRequestBody get http request body.
NewObjectId returns a new unique ObjectId.
No description provided by the author
NewObjectIdWithTime returns a dummy ObjectId with the timestamp part filled with the provided number of seconds from epoch UTC, and all other parts filled with zeroes.
No description provided by the author
No description provided by the author
No description provided by the author
StrToObjectId string id to object.
ValueFields extrect common http log fields from context.
ValueLogID extract log id from context.
ValueTraceID extract trace id from context.
WithFields inject common http log fields to context.
WithLogID inject log id to context.
WithTraceID inject trace_id id to context.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
LogId is a unique ID identifying a log record.