Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceContext ¶
func NewServiceContext(repos repository.Repositories, tm transaction.TransactionManager, config *configuration.ConfigurationData, options ...Option) context.ServiceContext
Types ¶
type ServiceContextProducer ¶
type ServiceContextProducer func() context.ServiceContext
ServiceContextProducer the service factory producer function
type ServiceFactory ¶
type ServiceFactory struct {
// contains filtered or unexported fields
}
ServiceFactory the service factory
func NewServiceFactory ¶
func NewServiceFactory(producer ServiceContextProducer, config *configuration.ConfigurationData, options ...Option) *ServiceFactory
NewServiceFactory initializes a new factory with some options to use alternative implementation of the underlying services
func (*ServiceFactory) ClusterService ¶
func (f *ServiceFactory) ClusterService() service.ClusterService
ClusterService returns a new cluster service implementation
Click to show internal directories.
Click to hide internal directories.