service

package
v0.0.0-...-6752b92 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HandleSrv

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

func (HandleSrv) GetSupportCoins

func (h HandleSrv) GetSupportCoins(req *models.ChainRequest) (*models.SupportChainResponse, error)

func (HandleSrv) GetWalletAddress

type Service

type Service interface {
	GetSupportCoins(*models.ChainRequest) (*models.SupportChainResponse, error)
	GetWalletAddress(*models.ChainRequest) (*models.WalletAddressResponse, error)
}

func NewHandleSrv

func NewHandleSrv(v *Validator, ksv database.KeysView) Service

type Validator

type Validator struct{}

func (*Validator) VerifyWalletAddress

func (v *Validator) VerifyWalletAddress(chain, network string) bool

Jump to

Keyboard shortcuts

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