Documentation ¶
Index ¶
- func Auth(ctx context.Context, username, password string, master bool) (bool, error)
- func CreateProvider(ctx context.Context, name, mailDomain, pluginName string, ...) error
- func ExpandAlias(ctx context.Context, alias string) ([]string, error)
- func GetEmptyProviderSettings(ctx context.Context, pluginName string) ([]interface{}, error)
- func GetPoviderDesc(ctx context.Context, pluginName string) (string, error)
- func GetProviderByIdx(ctx context.Context, idx int) (*tt.UserDBProvider, error)
- func GetProviderList(ctx context.Context) ([]*tt.UserDBProvider, error)
- func GetProviderPluginNamesDesc(ctx context.Context) ([][]string, error)
- func GetProvidersByMailDomain(ctx context.Context, mailDomain string) ([]*tt.UserDBProvider, error)
- func LoadProviderSettings(ctx context.Context, pluginName, sourceID string) ([]interface{}, error)
- func NormalEmail(ctx context.Context, email string) (string, error)
- func ProviderNameExists(ctx context.Context, name string) (bool, error)
- func ProviderWebExists(ctx context.Context, pluginName string) (bool, error)
- func RemoveProvider(ctx context.Context, pluginName, sourceID string) error
- func SaveProviderSettings(ctx context.Context, _, _, pluginName, sourceID string, ...) error
- func UserByEmail(ctx context.Context, email string) (string, error)
- func UserQuotaMB(ctx context.Context, email string) (int, error)
- func Web(ctx context.Context, pluginName, sourceID, action string, ...) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateProvider ¶
func GetProviderByIdx ¶
func GetProviderList ¶
func GetProviderList(ctx context.Context) ([]*tt.UserDBProvider, error)
func LoadProviderSettings ¶
func ProviderWebExists ¶
func SaveProviderSettings ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.