Documentation ¶
Index ¶
- func WithServiceContextOptions(opts ...ServiceContextOption) func(f *ServiceFactory)
- type Option
- type ServiceContextOption
- type ServiceFactory
- func (s *ServiceFactory) SignupService() service.SignupService
- func (s *ServiceFactory) VerificationService() service.VerificationService
- func (s *ServiceFactory) WithSignupService(signupService service.SignupService)
- func (s *ServiceFactory) WithSignupServiceOption(opt signupservice.SignupServiceOption)
- func (s *ServiceFactory) WithVerificationServiceOption(opt verificationservice.VerificationServiceOption)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithServiceContextOptions ¶
func WithServiceContextOptions(opts ...ServiceContextOption) func(f *ServiceFactory)
Types ¶
type ServiceContextOption ¶
type ServiceContextOption = func(ctx *serviceContextImpl)
func NamespacedClientOption ¶
func NamespacedClientOption(client namespaced.Client) ServiceContextOption
type ServiceFactory ¶
type ServiceFactory struct {
// contains filtered or unexported fields
}
func NewServiceFactory ¶
func NewServiceFactory(options ...Option) *ServiceFactory
func (*ServiceFactory) SignupService ¶
func (s *ServiceFactory) SignupService() service.SignupService
func (*ServiceFactory) VerificationService ¶
func (s *ServiceFactory) VerificationService() service.VerificationService
func (*ServiceFactory) WithSignupService ¶
func (s *ServiceFactory) WithSignupService(signupService service.SignupService)
func (*ServiceFactory) WithSignupServiceOption ¶
func (s *ServiceFactory) WithSignupServiceOption(opt signupservice.SignupServiceOption)
func (*ServiceFactory) WithVerificationServiceOption ¶
func (s *ServiceFactory) WithVerificationServiceOption(opt verificationservice.VerificationServiceOption)
Click to show internal directories.
Click to hide internal directories.