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 ¶
func (c *CertificationClientProvider) New(ctx context.Context, tms *token.ManagementService) (driver.CertificationClient, error)
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.
Click to show internal directories.
Click to hide internal directories.