Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration = driver.Configuration
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service model the configuration service for the token sdk
func NewService ¶
func NewService(cp configProvider) *Service
NewService creates a new Service configuration.
func (*Service) ConfigurationFor ¶
func (m *Service) ConfigurationFor(network, channel, namespace string) (Configuration, error)
ConfigurationFor returns a configuration for the given network, channel, and namespace.
func (*Service) Configurations ¶
func (m *Service) Configurations() ([]Configuration, error)
Configurations returns all configuration configurations.
func (*Service) LookupNamespace ¶
LookupNamespace searches for a configuration configuration that matches the given network and channel, and return its namespace. If no matching configuration is found, an error is returned. If multiple matching configurations are found, an error is returned.
Click to show internal directories.
Click to hide internal directories.