service

package
v0.0.0-...-50e54af Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCurrencyCfg

func NewCurrencyCfg() *entity.CurrencyList

func NewNetCfg

func NewNetCfg() *entity.CurrencyNetList

Types

type CurrencyMangerSrv

type CurrencyMangerSrv struct {
	CurrencyList *entity.CurrencyList
	NetList      *entity.CurrencyNetList
	dto.UnimplementedCurrencyManagerSrvServer
}

func (CurrencyMangerSrv) CurrencyGetForList

func (cms CurrencyMangerSrv) CurrencyGetForList(ctx context.Context, req *dto.Empty) (*dto.CurrencyList, error)

CurrencyGetForList 获取所有币种信息

func (CurrencyMangerSrv) CurrencyGetForMap

func (cms CurrencyMangerSrv) CurrencyGetForMap(ctx context.Context, req *dto.Empty) (*dto.CurrencyMap, error)

func (CurrencyMangerSrv) NetGetByCy

func (cms CurrencyMangerSrv) NetGetByCy(ctx context.Context, req *dto.NameReq) (*dto.NetList, error)

NetGetByCy 获取转账网络信息

func (CurrencyMangerSrv) NetGetByName

func (cms CurrencyMangerSrv) NetGetByName(ctx context.Context, req *dto.NameReq) (*dto.Net, error)

Jump to

Keyboard shortcuts

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