Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdapterDispatcher ¶
type AdapterDispatcher struct {
// contains filtered or unexported fields
}
AdapterDispatcher will coordinate calling all configured adapters in a WaitGroup
func NewAdapterDispatcher ¶
func NewAdapterDispatcher(adapterInstances *[]domain.Adapter, logger *zap.Logger) (*AdapterDispatcher, error)
NewAdapterDispatcher is a constructor method for AdapterDispatcher
type AdapterFactory ¶
type AdapterFactory struct {
// contains filtered or unexported fields
}
AdapterFactory will act as the owner of all adapter instances
func NewAdapterFactory ¶
func NewAdapterFactory(config *viper.Viper) (*AdapterFactory, error)
NewAdapterFactory is a constructor method for AdapterFactory
func (AdapterFactory) GetAdapters ¶
func (c AdapterFactory) GetAdapters() (adapterCollection *[]domain.Adapter)
GetAdapters exposes the internal collection of build adapter instances
Click to show internal directories.
Click to hide internal directories.