identitydb

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Drivers

func Drivers() []string

func Register

func Register(name string, driver driver.IdentityDBDriver)

Types

type IdentityHolder

type IdentityHolder = db.DriverHolder[driver.IdentityDB, driver.IdentityDB, *identityDBDriver]

type Manager

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

func NewManager

func NewManager(drivers []db.NamedDriver[driver.IdentityDBDriver], cp driver.ConfigProvider, config db.Config) *Manager

func (*Manager) IdentityDBByTMSId

func (m *Manager) IdentityDBByTMSId(tmsID token.TMSID) (driver.IdentityDB, error)

func (*Manager) WalletDBByTMSId

func (m *Manager) WalletDBByTMSId(tmsID token.TMSID) (driver.WalletDB, error)

type WalletHolder

type WalletHolder = db.DriverHolder[driver.WalletDB, driver.WalletDB, *walletDBDriver]

Directories

Path Synopsis
db
sql

Jump to

Keyboard shortcuts

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