Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registrant ¶
type Registrant interface {
Name() string
}
Registrant interface implementors may be registered in a Registry
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func (*Registry) Register ¶
func (r *Registry) Register(registrant Registrant)
Register registers a new registrant to a registry
Click to show internal directories.
Click to hide internal directories.