Documentation
¶
Index ¶
- type DefaultRoster
- func (dr *DefaultRoster) Driver(ctx context.Context, name string) (interface{}, error)
- func (dr *DefaultRoster) Drivers(ctx context.Context) []string
- func (dr *DefaultRoster) NormalizeName(ctx context.Context, name string) string
- func (dr *DefaultRoster) Register(ctx context.Context, name string, i interface{}) error
- func (dr *DefaultRoster) UnregisterAll(ctx context.Context) error
- type Roster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultRoster ¶
type DefaultRoster struct {
Roster
// contains filtered or unexported fields
}
func (*DefaultRoster) Driver ¶
func (dr *DefaultRoster) Driver(ctx context.Context, name string) (interface{}, error)
func (*DefaultRoster) NormalizeName ¶
func (dr *DefaultRoster) NormalizeName(ctx context.Context, name string) string
func (*DefaultRoster) Register ¶
func (dr *DefaultRoster) Register(ctx context.Context, name string, i interface{}) error
func (*DefaultRoster) UnregisterAll ¶
func (dr *DefaultRoster) UnregisterAll(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.