types

package
v1.17.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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) Get

func (o *PluginPool) Get(ctx context.Context, name string, pType int) (interface{}, error)

func (*PluginPool) GetAll

func (o *PluginPool) GetAll(ctx context.Context, pType int) ([]interface{}, error)

func (*PluginPool) GetPluginNamesDesc

func (o *PluginPool) GetPluginNamesDesc(ctx context.Context, pType int) ([][]string, error)

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) Set

func (o *PluginPool) Set(_ context.Context, name string, pType int, plugin interface{}) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL