Documentation
¶
Index ¶
- type WalletServer
- func (s *WalletServer) BatchCreateWallet(context.Context, *proto.BatchCreateWalletReq) (*emptypb.Empty, error)
- func (s *WalletServer) GetAddress(context.Context, *proto.GetAddressReq) (*proto.WalletInfo, error)
- func (s *WalletServer) GetAddressByUserId(context.Context, *proto.GetAddressByUserIdReq) (*proto.WalletInfo, error)
- func (s *WalletServer) UpdateWalletUser(context.Context, *proto.UpdateWalletUserReq) (*proto.WalletInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WalletServer ¶
type WalletServer struct {
proto.UnimplementedWalletServer
}
func (*WalletServer) BatchCreateWallet ¶
func (s *WalletServer) BatchCreateWallet(context.Context, *proto.BatchCreateWalletReq) (*emptypb.Empty, error)
func (*WalletServer) GetAddress ¶
func (s *WalletServer) GetAddress(context.Context, *proto.GetAddressReq) (*proto.WalletInfo, error)
通过用户地址信息查询地址地址信息
func (*WalletServer) GetAddressByUserId ¶
func (s *WalletServer) GetAddressByUserId(context.Context, *proto.GetAddressByUserIdReq) (*proto.WalletInfo, error)
通过用户ID查询地址地址信息
func (*WalletServer) UpdateWalletUser ¶
func (s *WalletServer) UpdateWalletUser(context.Context, *proto.UpdateWalletUserReq) (*proto.WalletInfo, error)
为新用户分配地址
Click to show internal directories.
Click to hide internal directories.