Documentation
¶
Index ¶
- type Context
- func (c *Context) GoContext() context.Context
- func (c *Context) Logger() observability.StructuredLogger
- func (c *Context) ParseJSON(target any) error
- func (c *Context) PathParam(key string) string
- func (c *Context) QueryParam(key string, defaultValue ...string) string
- func (c *Context) TenantID() string
- func (c *Context) UserID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
Context wraps lift.Context with additional convenience methods
func NewContext ¶
NewContext creates a new context wrapper
func (*Context) Logger ¶
func (c *Context) Logger() observability.StructuredLogger
Logger returns a structured logger
func (*Context) QueryParam ¶
QueryParam returns a query parameter value with optional default
Click to show internal directories.
Click to hide internal directories.