tplutils

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsructSettingsPage

func ConsructSettingsPage(ctx context.Context) (string, error)

func ConstructAddMailStoragePage

func ConstructAddMailStoragePage(kvList [][]string) string

func ConstructAddUserDBProviderPage

func ConstructAddUserDBProviderPage(kvList [][]string) string

func ConstructBannedIPsPage

func ConstructBannedIPsPage(records []string) string

func ConstructDkimGenKeyPage

func ConstructDkimGenKeyPage(domain string, localDomains []string, params []interface{}, new bool) string

func ConstructDkimKeysPage

func ConstructDkimKeysPage(domainPubKeys [][]string, canAdd bool) string

func ConstructEditMailStoragePage

func ConstructEditMailStoragePage(pluginName, pluginDesc, mailDomain string, params []interface{}, add bool) string

func ConstructEditSettingsDbPage

func ConstructEditSettingsDbPage(pluginName, pluginDesc string, params []interface{}, new, aloneType bool) string

func ConstructEditSmtpQueuePage

func ConstructEditSmtpQueuePage(pluginName, pluginDesc string, params []interface{}, new, aloneType bool) string

func ConstructEditUserDBProviderPage

func ConstructEditUserDBProviderPage(pluginName, pluginDesc, name, mailDomain, sourceID string, params []interface{}, add bool) string

func ConstructGlobalRuleEditPage

func ConstructGlobalRuleEditPage(mailDomain string, ruleNum int, edit bool) string

func ConstructGlobalRulesDomainsPage

func ConstructGlobalRulesDomainsPage(domList [][]string) string

func ConstructGlobalRulesPage

func ConstructGlobalRulesPage(mailDomain string, ruleNames []string) string

func ConstructIPsBlacklistPage

func ConstructIPsBlacklistPage(records []string) string

func ConstructIPsWhitelistPage

func ConstructIPsWhitelistPage(records []string) string

func ConstructIndexPage

func ConstructIndexPage(smtpaclEnabled bool) string

func ConstructListMailStoragesPage

func ConstructListMailStoragesPage(ctx context.Context, storages []*tt.MailStorage) (string, error)

func ConstructListMiscPluginsPage

func ConstructListMiscPluginsPage(ctx context.Context, miscPlugins []tt.MiscPlugin) (string, error)

func ConstructListUserDBProvidersPage

func ConstructListUserDBProvidersPage(ctx context.Context, providers []*tt.UserDBProvider) (string, error)

func ConstructLoginPage

func ConstructLoginPage(redirectUrl string) string

func ConstructMailstorageWebCtlPage

func ConstructMailstorageWebCtlPage(webctlBlock interface{}) string

func ConstructMboxRulesPage

func ConstructMboxRulesPage(user string, ruleNames []string) string

func ConstructMiscWebCtlPage

func ConstructMiscWebCtlPage(webctlBlock interface{}) string

func ConstructParams

func ConstructParams(p []interface{}) h.Children

func ConstructProfilePage

func ConstructProfilePage(user string) string

func ConstructRuleEditPage

func ConstructRuleEditPage(user string, ruleNum int, edit bool) string

func ConstructSendersBlacklistPage

func ConstructSendersBlacklistPage(records []string) string

func ConstructSendersWhitelistPage

func ConstructSendersWhitelistPage(records []string) string

func ConstructSettingsDbPage

func ConstructSettingsDbPage(ctx context.Context, qCfg *cfg.SettingsDB) (string, error)

func ConstructSettingsDbTypePage

func ConstructSettingsDbTypePage(kvList [][]string) string

func ConstructSettingsDbWebCtlPage

func ConstructSettingsDbWebCtlPage(webctlBlock interface{}) string

func ConstructSmtpAclsPage

func ConstructSmtpAclsPage() string

func ConstructSmtpQueuePage

func ConstructSmtpQueuePage(ctx context.Context, qCfg *tt.SmtpQueue) (string, error)

func ConstructSmtpQueueTypePage

func ConstructSmtpQueueTypePage(kvList [][]string) string

func ConstructSmtpQueueWebCtlPage

func ConstructSmtpQueueWebCtlPage(webctlBlock interface{}) string

func ConstructUserDBProviderWebCtlPage

func ConstructUserDBProviderWebCtlPage(webctlBlock interface{}) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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