Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextSelfPool ¶
Types ¶
type AppConfig ¶
type AppConfig struct { app_default.AppConfig PoolControllerBuilder func(app app_context.Context) pool.PoolController }
type AppConfigI ¶
type AppConfigI interface { app_default.AppConfigI GetPoolControllerBuilder() func(app app_context.Context) pool.PoolController }
type AppWithPools ¶
type AppWithPools interface { app_context.Context Pools() pool.PoolStore }
type AppWithPoolsBase ¶
type AppWithPoolsBase struct { *app_default.Context // contains filtered or unexported fields }
func New ¶
func New(buildConfig *app_context.BuildConfig, appConfig ...AppConfigI) *AppWithPoolsBase
func (*AppWithPoolsBase) Init ¶
func (a *AppWithPoolsBase) Init(configFile string, configType ...string) (op_context.Context, error)
func (*AppWithPoolsBase) InitWithArgs ¶
func (a *AppWithPoolsBase) InitWithArgs(configFile string, args []string, configType ...string) (op_context.Context, error)
func (*AppWithPoolsBase) Pools ¶
func (a *AppWithPoolsBase) Pools() pool.PoolStore
type ContextBase ¶
type ContextBase struct { op_context.Context // contains filtered or unexported fields }
func NewInitOpContext ¶
func NewInitOpContext(app app_context.Context, log logger.Logger, db db.DB) *ContextBase
func NewOpContext ¶
func NewOpContext(fromCtx ...op_context.Context) *ContextBase
func (*ContextBase) Construct ¶
func (c *ContextBase) Construct(baseCtx ...op_context.Context)
func (*ContextBase) Pool ¶
func (c *ContextBase) Pool() pool.Pool
func (*ContextBase) SetPool ¶
func (c *ContextBase) SetPool(pool pool.Pool)
Click to show internal directories.
Click to hide internal directories.