Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalService ¶
type ExternalService interface {
Call() error
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...ServiceOption) *Service
type ServiceOption ¶
type ServiceOption func(s *Service)
func WithExternalService ¶
func WithExternalService(externalService ExternalService) ServiceOption
Click to show internal directories.
Click to hide internal directories.