controllers

package
v0.1.19 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAccountsController

func NewAccountsController(db ports.Accounts) *accountsController

NewAccountsController ...

Types

type AccountsController

type AccountsController interface {
	GetToken(ctx context.Context, query GetTokenQuery) (models.Token, error)
}

AccountsController ...

type GetTokenQuery added in v0.1.15

type GetTokenQuery struct {
	AccountPublicKey string `json:"account_public_key" validate:"required"`
}

GetTokenQuery ...

Jump to

Keyboard shortcuts

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