Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container interface { AddService(service interface{}) (err error) GetService(service interface{}) (err error) HasService(service interface{}) (hasService bool) }
Container of all services
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry of all services
func (*Registry) AddService ¶
AddService a service to the container
func (*Registry) GetService ¶
GetService a service from the container
func (*Registry) HasService ¶
HasService check if the service exists in the container
Click to show internal directories.
Click to hide internal directories.