tokendb

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	driver.TokenDB
}

DB is a database that stores token transactions related information

func GetByTMSId

func GetByTMSId(sp token.ServiceProvider, tmsID token.TMSID) (*DB, error)

func (*DB) NewTransaction

func (d *DB) NewTransaction() (*Transaction, error)

type Holder

func NewHolder

func NewHolder(drivers []db.NamedDriver[driver.TokenDBDriver]) *Holder

type Notifier

type Notifier struct {
	driver.TokenNotifier
}

type TokenRecord

type TokenRecord = driver.TokenRecord

type Transaction

type Transaction struct {
	driver.TokenDBTransaction
}

Directories

Path Synopsis
db
sql

Jump to

Keyboard shortcuts

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