Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDatabase ¶
WithDatabase put database in context
Types ¶
type Ctx ¶
type Ctx interface {
context.Context
WebContext() WebContext
Logger() *logger.Logger
DB() *db.Database
Biz() bizapp.Biz
}
func Context ¶
func Context(ctx WebContext) Ctx
type WebContext ¶
Click to show internal directories.
Click to hide internal directories.