Documentation
¶
Index ¶
- type PluginPool
- func (o *PluginPool) Get(ctx context.Context, name string, pType int) (interface{}, error)
- func (o *PluginPool) GetAll(ctx context.Context, pType int) ([]interface{}, error)
- func (o *PluginPool) GetPluginNamesDesc(ctx context.Context, pType int) ([][]string, error)
- func (o *PluginPool) Init(ctx context.Context)
- func (o *PluginPool) MailstoragePluginCount(context.Context) int
- func (o *PluginPool) MiscPluginCount(context.Context) int
- func (o *PluginPool) Set(_ context.Context, name string, pType int, plugin interface{}) error
- func (o *PluginPool) SettingsDbPluginCount(context.Context) int
- func (o *PluginPool) SmtpQueuePluginCount(context.Context) int
- func (o *PluginPool) UserDBPluginCount(context.Context) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginPool ¶
type PluginPool struct { UserDB map[string]tt.UserDBPlugin Mailstorage map[string]tt.MailstoragePlugin SmtpQueue map[string]tt.SmtpQueuePlugin SettingsDB map[string]tt.SettingsDbPlugin Misc map[string]tt.MiscPlugin }
func (*PluginPool) GetAll ¶
func (o *PluginPool) GetAll(ctx context.Context, pType int) ([]interface{}, error)
func (*PluginPool) GetPluginNamesDesc ¶
func (*PluginPool) Init ¶
func (o *PluginPool) Init(ctx context.Context)
func (*PluginPool) MailstoragePluginCount ¶
func (o *PluginPool) MailstoragePluginCount(context.Context) int
func (*PluginPool) MiscPluginCount ¶
func (o *PluginPool) MiscPluginCount(context.Context) int
func (*PluginPool) SettingsDbPluginCount ¶
func (o *PluginPool) SettingsDbPluginCount(context.Context) int
func (*PluginPool) SmtpQueuePluginCount ¶
func (o *PluginPool) SmtpQueuePluginCount(context.Context) int
func (*PluginPool) UserDBPluginCount ¶
func (o *PluginPool) UserDBPluginCount(context.Context) int
Click to show internal directories.
Click to hide internal directories.