Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TMS ¶
type TMS struct {
// contains filtered or unexported fields
}
TMS is the configuration of a given TMS
func (*TMS) TranslatePath ¶
TranslatePath translates the passed path relative to the config path
func (*TMS) UnmarshalKey ¶ added in v0.2.0
UnmarshalKey takes a single key and unmarshals it into a Struct
type TokenSDK ¶
type TokenSDK struct {
// contains filtered or unexported fields
}
TokenSDK is the configuration of the TokenSDK
func NewTokenSDK ¶
func NewTokenSDK(cp configProvider) *TokenSDK
NewTokenSDK creates a new TokenSDK configuration.
func (*TokenSDK) GetTMS ¶
GetTMS returns a TMS configuration for the given network, channel, and namespace.
func (*TokenSDK) LookupNamespace ¶
LookupNamespace searches for a TMS 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.