Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ServiceNotFound = errors.New("service not found")
)
Functions ¶
This section is empty.
Types ¶
type ServiceProvider ¶ added in v0.3.0
type ServiceProvider struct {
// contains filtered or unexported fields
}
func New ¶
func New() *ServiceProvider
func (*ServiceProvider) GetService ¶ added in v0.3.0
func (sp *ServiceProvider) GetService(v interface{}) (interface{}, error)
func (*ServiceProvider) RegisterService ¶ added in v0.3.0
func (sp *ServiceProvider) RegisterService(service interface{}) error
func (*ServiceProvider) String ¶ added in v0.3.0
func (sp *ServiceProvider) String() string
Click to show internal directories.
Click to hide internal directories.