network

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificationClientProvider

type CertificationClientProvider struct {
}

CertificationClientProvider creates certification clients for token management services.

func NewCertificationClientProvider

func NewCertificationClientProvider() *CertificationClientProvider

NewCertificationClientProvider creates a new certification client provider.

func (*CertificationClientProvider) New

New creates a certification client for the given token management service.

type LockerProvider

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

LockerProvider creates token lockers for the simple selector service. It manages transaction locking to prevent double-spending during token selection.

func NewLockerProvider

func NewLockerProvider(
	ttxStoreServiceManager db.StoreServiceManager[*ttxdb.StoreService],
	sleepTimeout time.Duration,
	validTxEvictionTimeout time.Duration,
) *LockerProvider

NewLockerProvider creates a new locker provider with the given configuration.

func (*LockerProvider) New

func (s *LockerProvider) New(network, channel, namespace string) (selector.Locker, error)

New creates a locker for the specified network, channel, and namespace.

Jump to

Keyboard shortcuts

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