Documentation ¶
Index ¶
- type InitFunc
- type Mode
- type Mysql
- type Options
- type Plugin
- func (p *Plugin) Controller() []service.Controller
- func (p *Plugin) DB() (*zdb.DB, error)
- func (p *Plugin) Done(zdi.Invoker) error
- func (p *Plugin) Load(zdi.Invoker) (any, error)
- func (p *Plugin) Name() string
- func (p *Plugin) Reload(conf *service.Conf) error
- func (p *Plugin) Start(zdi.Invoker) error
- func (p *Plugin) Tasks() []service.Task
- type Postgres
- type Single
- type Sqlite
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Sqlite *Sqlite `json:"sqlite,omitempty"` MySQL *Mysql `json:"mysql,omitempty"` Postgres *Postgres `json:"postgres,omitempty"` Mode *Mode `json:"mode,omitempty"` Driver string `json:"driver,omitempty"` // contains filtered or unexported fields }
func (Options) DisableWrite ¶
type Plugin ¶
func (*Plugin) Controller ¶
func (p *Plugin) Controller() []service.Controller
type Single ¶
func (*Single) Controller ¶
func (p *Single) Controller() []service.Controller
Source Files ¶
Click to show internal directories.
Click to hide internal directories.