registry

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL