Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConcreteService ¶
type ConcreteService struct{}
func (*ConcreteService) ProcessMessage ¶
func (service *ConcreteService) ProcessMessage(message string) error
type ConcreteServiceFactory ¶
type ConcreteServiceFactory struct{}
func (ConcreteServiceFactory) CreateService ¶
func (factory ConcreteServiceFactory) CreateService() Service
type ServiceFactory ¶
type ServiceFactory interface {
CreateService() Service
}
Click to show internal directories.
Click to hide internal directories.