Documentation ¶
Index ¶
- func CreateStorage(ctx context.Context, mailDomain, pluginName string, options map[string]string) error
- func GetDefaultQuota(ctx context.Context, email string) (int, error)
- func GetEmptyStorageSettings(ctx context.Context, pluginName string) ([]interface{}, error)
- func GetInbox(ctx context.Context, lp, dom string) (tt.ImapFolder, error)
- func GetLocalDomains(ctx context.Context) ([]string, error)
- func GetParsedGlobalRules(ctx context.Context, mailDomain string) ([]*tt.RuleStruct, error)
- func GetProviderPluginNamesDesc(ctx context.Context) ([][]string, error)
- func GetSmartHost(ctx context.Context, domain string) (*tt.SmartHost, error)
- func GetStorageByDomain(ctx context.Context, domain string) (*tt.MailStorage, error)
- func GetStorageByEmail(ctx context.Context, email string) (*tt.MailStorage, error)
- func GetStorageByIdx(ctx context.Context, idx int) (*tt.MailStorage, error)
- func GetStorageDesc(ctx context.Context, pluginName string) (string, error)
- func GetStorageList(ctx context.Context) ([]*tt.MailStorage, error)
- func GetSystemFolders(ctx context.Context, mailDomain string) ([]string, error)
- func GetTrashAdditionalQuota(ctx context.Context, email string) (int, error)
- func LoadStorageSettings(ctx context.Context, pluginName, mailDomain string) ([]interface{}, error)
- func MailStorageDomainExists(ctx context.Context, mailDomain string) (bool, error)
- func MboxIsLocal(ctx context.Context, email string) (bool, error)
- func NormalizeSystemFolderName(ctx context.Context, name string) string
- func RemoveStorage(ctx context.Context, pluginName, mailDomain string) error
- func SaveGlobalRules(ctx context.Context, mailDomain string, rules []*tt.RuleStruct) error
- func SaveStorageSettings(ctx context.Context, mailDomain, pluginName string, options map[string]string) error
- func StorageWebExists(ctx context.Context, pluginName string) (bool, error)
- func Web(ctx context.Context, pluginName, mailDomain, action string, ...) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStorage ¶
func GetEmptyStorageSettings ¶
func GetParsedGlobalRules ¶
func GetStorageByDomain ¶
func GetStorageByEmail ¶
func GetStorageByIdx ¶
func GetStorageList ¶
func GetStorageList(ctx context.Context) ([]*tt.MailStorage, error)
func GetSystemFolders ¶
func GetTrashAdditionalQuota ¶
func LoadStorageSettings ¶
func MailStorageDomainExists ¶
func SaveGlobalRules ¶
func SaveStorageSettings ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.