Documentation ¶
Overview ¶
generated by go-extpoints -- DO NOT EDIT
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderFactories = &providerFactoryExt{ newExtensionPoint(new(ProviderFactory)), }
Functions ¶
func RegisterExtension ¶
func UnregisterExtension ¶
Types ¶
type Provider ¶
type Provider interface { Type() string Description() string Open(bool) error Close() error Get(string, string) (*alias.Alias, error) Put(alias.Alias, bool) error Update(alias.Alias, bool) error Search(alias.Filter, bool) (alias.Aliases, error) Suspend(string, string) error Unsuspend(string, string) error Delete(string, string) error }
Provider is implemented by any storage provider giving the ability to manipulate the storage of email aliases and associated metadata separate from the email system being used.
type ProviderFactory ¶
ProviderFactory is implemented by any storage provider in order to create new instances and configure them for use. The configuration values are stored in and read from Viper.
Click to show internal directories.
Click to hide internal directories.