adapters

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountLookupRequestHandler

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

AccountLookupRequestHandler ...

func NewAccountLookupRequestHandler

func NewAccountLookupRequestHandler(ctrl controllers.AccountsController) *AccountLookupRequestHandler

NewAccountLookupRequestHandler ...

func (*AccountLookupRequestHandler) HandleLookupRequest

func (h *AccountLookupRequestHandler) HandleLookupRequest(ctx context.Context, accountPublicKey models.AccountPublicKey) (models.AccountToken, error)

HandleLookupRequest ...

type DB

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

DB ...

func NewDB

func NewDB(conn *gorm.DB) *DB

NewDB ...

func (*DB) GetToken

func (db *DB) GetToken(ctx context.Context, pubKey models.AccountPublicKey) (models.AccountToken, error)

GetToken ...

Jump to

Keyboard shortcuts

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