Versions in this module Expand all Collapse all v1 v1.0.11 Jun 28, 2026 v1.0.10 Jun 26, 2026 v1.0.9 Jun 25, 2026 v1.0.8 Jun 24, 2026 v1.0.7 Jun 23, 2026 Changes in this version + func InitializePlatformConfig(platform string) interface + type AbosendConfig struct + Access string + ApiDomain string + Secret string + Template string + func (l *AbosendConfig) Marshal() string + func (l *AbosendConfig) Unmarshal(data string) error + type AlibabaCloudConfig struct + Access string + Endpoint string + Secret string + SignName string + TemplateCode string + func (l *AlibabaCloudConfig) Marshal() string + func (l *AlibabaCloudConfig) Unmarshal(data string) error + type AppleAuthConfig struct + ClientId string + ClientSecret string + KeyID string + RedirectURL string + TeamID string + func (l *AppleAuthConfig) Marshal() string + func (l *AppleAuthConfig) Unmarshal(data string) error + type DeviceConfig struct + EnableSecurity bool + OnlyRealDevice bool + SecuritySecret string + ShowAds bool + func (l *DeviceConfig) Marshal() string + func (l *DeviceConfig) Unmarshal(data string) error + type EmailAuthConfig struct + DomainSuffixList string + EnableDomainSuffix bool + EnableNotify bool + EnableVerify bool + ExpirationEmailTemplate string + MaintenanceEmailTemplate string + Platform string + PlatformConfig interface{} + TrafficExceedEmailTemplate string + VerifyEmailTemplate string + func (l *EmailAuthConfig) ApplyDefaultEmailTemplates() + func (l *EmailAuthConfig) Marshal() string + func (l *EmailAuthConfig) Unmarshal(data string) + type FacebookAuthConfig struct + ClientId string + ClientSecret string + RedirectURL string + func (l *FacebookAuthConfig) Marshal() string + func (l *FacebookAuthConfig) Unmarshal(data string) error + type GithubAuthConfig struct + ClientId string + ClientSecret string + RedirectURL string + func (l *GithubAuthConfig) Marshal() string + func (l *GithubAuthConfig) Unmarshal(data string) error + type GoogleAuthConfig struct + ClientId string + ClientSecret string + RedirectURL string + func (l *GoogleAuthConfig) Marshal() string + func (l *GoogleAuthConfig) Unmarshal(data string) error + type MobileAuthConfig struct + EnableWhitelist bool + Platform string + PlatformConfig interface{} + Whitelist []string + func (l *MobileAuthConfig) Marshal() string + func (l *MobileAuthConfig) Unmarshal(data string) + type SMTPConfig struct + From string + Host string + Pass string + Port int + SSL bool + User string + func (l *SMTPConfig) Marshal() string + func (l *SMTPConfig) Unmarshal(data string) error + type SmsbaoConfig struct + Access string + Secret string + Template string + func (l *SmsbaoConfig) Marshal() string + func (l *SmsbaoConfig) Unmarshal(data string) error + type TelegramAuthConfig struct + BotToken string + EnableNotify bool + WebHookDomain string + func (l *TelegramAuthConfig) Marshal() string + func (l *TelegramAuthConfig) Unmarshal(data string) error + type TwilioConfig struct + Access string + PhoneNumber string + Secret string + Template string + func (l *TwilioConfig) Marshal() string + func (l *TwilioConfig) Unmarshal(data string) error