Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextAdapter ¶
type ContextAdapter struct {
Name string
RevTime time.Time
ID interface{}
KV map[string]any
Logger log.Logger
}
func (*ContextAdapter) ClientIP ¶
func (ctx *ContextAdapter) ClientIP() string
func (*ContextAdapter) CtxID ¶
func (ctx *ContextAdapter) CtxID() interface{}
func (*ContextAdapter) EndRequest ¶
func (ctx *ContextAdapter) EndRequest(code int)
func (*ContextAdapter) WithValue ¶
func (ctx *ContextAdapter) WithValue(key string, value any)
Click to show internal directories.
Click to hide internal directories.