Documentation ¶
Index ¶
- type AppConfig
- func (a *AppConfig) AddCommand(c ...command.Command)
- func (a *AppConfig) BuildRouting(m django.Mux)
- func (a *AppConfig) Commands() []command.Command
- func (a *AppConfig) Dependencies() []string
- func (a *AppConfig) Initialize(settings django.Settings) error
- func (a *AppConfig) IsReady() bool
- func (a *AppConfig) Name() string
- func (a *AppConfig) OnReady() error
- func (a *AppConfig) Processors() []func(ctx.ContextWithRequest)
- func (a *AppConfig) Templates() *tpl.Config
- type DBRequiredAppConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { AppName string Deps []string Routing func(django.Mux) Cmd []command.Command Init func(settings django.Settings) error Ready func() error CtxProcessors []func(ctx.ContextWithRequest) TemplateConfig *tpl.Config // contains filtered or unexported fields }
func NewAppConfig ¶
func (*AppConfig) AddCommand ¶
func (*AppConfig) BuildRouting ¶
func (*AppConfig) Dependencies ¶
func (*AppConfig) Processors ¶
func (a *AppConfig) Processors() []func(ctx.ContextWithRequest)
type DBRequiredAppConfig ¶
type DBRequiredAppConfig struct { *AppConfig DB *sql.DB Init func(settings django.Settings, db *sql.DB) error }
func NewDBAppConfig ¶
func NewDBAppConfig(name string) *DBRequiredAppConfig
func (*DBRequiredAppConfig) Initialize ¶
func (a *DBRequiredAppConfig) Initialize(settings django.Settings) error
Click to show internal directories.
Click to hide internal directories.