tms

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter added in v0.7.0

func Filter[E any](in []E, keep func(E) bool) []E

Filter keeps elements where keep(x) == true, allocating a new result slice.

func NewTMSNormalizer added in v0.7.0

func NewTMSNormalizer(tmsProvider ConfigService, normalizer token.Normalizer) *tmsNormalizer

Types

type ConfigService added in v0.7.0

type ConfigService interface {
	Configurations() ([]driver.Configuration, error)
}

type ConfigServiceWrapper added in v0.7.0

type ConfigServiceWrapper struct {
	*config.Service
}

func NewConfigServiceWrapper added in v0.7.0

func NewConfigServiceWrapper(service *config.Service) *ConfigServiceWrapper

func (*ConfigServiceWrapper) ConfigurationFor added in v0.7.0

func (c *ConfigServiceWrapper) ConfigurationFor(network string, channel string, namespace string) (driver.Configuration, error)

func (*ConfigServiceWrapper) Configurations added in v0.7.0

func (c *ConfigServiceWrapper) Configurations() ([]driver.Configuration, error)

type PostInitializer

type PostInitializer struct {
	// contains filtered or unexported fields
}

func NewPostInitializer

func NewPostInitializer(tokensProvider *tokens2.ServiceManager, networkProvider *network.Provider, ownerManager *ttx.ServiceManager, auditorManager *auditor.ServiceManager) (*PostInitializer, error)

func (*PostInitializer) PostInit

func (p *PostInitializer) PostInit(tms driver.TokenManagerService, networkID, channel, namespace string) error

Jump to

Keyboard shortcuts

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