Documentation ¶
Index ¶
- func NewCurrencyCfg() *entity.CurrencyList
- func NewNetCfg() *entity.CurrencyNetList
- type CurrencyMangerSrv
- func (cms CurrencyMangerSrv) CurrencyGetForList(ctx context.Context, req *dto.Empty) (*dto.CurrencyList, error)
- func (cms CurrencyMangerSrv) CurrencyGetForMap(ctx context.Context, req *dto.Empty) (*dto.CurrencyMap, error)
- func (cms CurrencyMangerSrv) NetGetByCy(ctx context.Context, req *dto.NameReq) (*dto.NetList, error)
- func (cms CurrencyMangerSrv) NetGetByName(ctx context.Context, req *dto.NameReq) (*dto.Net, error)
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 ¶
Click to show internal directories.
Click to hide internal directories.