Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Registries = newRegistry[domain.NotificationProviderType]()
Functions ¶
This section is empty.
Types ¶
type ProviderFactoryFunc ¶
type ProviderFactoryFunc func(options *ProviderFactoryOptions) (core.Notifier, error)
type ProviderFactoryOptions ¶
type Registry ¶
type Registry[T comparable] interface { Register(T, ProviderFactoryFunc) error MustRegister(T, ProviderFactoryFunc) Get(T) (ProviderFactoryFunc, error) }
Click to show internal directories.
Click to hide internal directories.