Documentation
¶
Index ¶
- func AppRun(apps ...App) error
- func Config(name ...string) *mcfg.Config
- func DB(name ...string) *mdb.DB
- func DBContext(ctx context.Context, name ...string) *mdb.DB
- func Log(name ...string) *mlog.Logger
- func Redis(name ...string) *mredis.Redis
- func RequestFromCtx(ctx context.Context) *mhttp.Request
- func Server(name ...string) *mhttp.Server
- type App
- type Meta
- type Var
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBContext ¶
DBContext returns the instance of the database with the specified name and context.
Types ¶
Click to show internal directories.
Click to hide internal directories.