Documentation
¶
Index ¶
- type AddAddressLogic
- type ChangePasswordLogic
- type DeleteAddressLogic
- type GetAddressLogic
- type GetTransactionsLogic
- type GetUserAddressesLogic
- type GetUserInfoLogic
- type GetWalletLogic
- type LoginLogic
- type LogoutLogic
- type RechargeWalletLogic
- type RegisterLogic
- type ResetPasswordLogic
- type UpdateAddressLogic
- type UpdateUserInfoLogic
- type WithdrawWalletLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddAddressLogic ¶
func NewAddAddressLogic ¶
func NewAddAddressLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddAddressLogic
func (*AddAddressLogic) AddAddress ¶
func (l *AddAddressLogic) AddAddress(in *user.AddAddressRequest) (*user.AddAddressResponse, error)
地址管理
type ChangePasswordLogic ¶
func NewChangePasswordLogic ¶
func NewChangePasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ChangePasswordLogic
func (*ChangePasswordLogic) ChangePassword ¶
func (l *ChangePasswordLogic) ChangePassword(in *user.ChangePasswordRequest) (*user.ChangePasswordResponse, error)
修改密码
type DeleteAddressLogic ¶
func NewDeleteAddressLogic ¶
func NewDeleteAddressLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteAddressLogic
func (*DeleteAddressLogic) DeleteAddress ¶
func (l *DeleteAddressLogic) DeleteAddress(in *user.DeleteAddressRequest) (*user.DeleteAddressResponse, error)
type GetAddressLogic ¶
func NewGetAddressLogic ¶
func NewGetAddressLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetAddressLogic
func (*GetAddressLogic) GetAddress ¶
func (l *GetAddressLogic) GetAddress(in *user.GetAddressRequest) (*user.GetAddressResponse, error)
type GetTransactionsLogic ¶
func NewGetTransactionsLogic ¶
func NewGetTransactionsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetTransactionsLogic
func (*GetTransactionsLogic) GetTransactions ¶
func (l *GetTransactionsLogic) GetTransactions(in *user.GetTransactionsRequest) (*user.GetTransactionsResponse, error)
type GetUserAddressesLogic ¶
func NewGetUserAddressesLogic ¶
func NewGetUserAddressesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserAddressesLogic
func (*GetUserAddressesLogic) GetUserAddresses ¶
func (l *GetUserAddressesLogic) GetUserAddresses(in *user.GetUserAddressesRequest) (*user.GetUserAddressesResponse, error)
type GetUserInfoLogic ¶
func NewGetUserInfoLogic ¶
func NewGetUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUserInfoLogic
func (*GetUserInfoLogic) GetUserInfo ¶
func (l *GetUserInfoLogic) GetUserInfo(in *user.GetUserInfoRequest) (*user.GetUserInfoResponse, error)
获取用户信息
type GetWalletLogic ¶
func NewGetWalletLogic ¶
func NewGetWalletLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetWalletLogic
func (*GetWalletLogic) GetWallet ¶
func (l *GetWalletLogic) GetWallet(in *user.GetWalletRequest) (*user.GetWalletResponse, error)
钱包操作
type LoginLogic ¶
func NewLoginLogic ¶
func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic
func (*LoginLogic) Login ¶
func (l *LoginLogic) Login(in *user.LoginRequest) (*user.LoginResponse, error)
用户登录
type LogoutLogic ¶
func NewLogoutLogic ¶
func NewLogoutLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LogoutLogic
func (*LogoutLogic) Logout ¶
func (l *LogoutLogic) Logout(in *user.LogoutRequest) (*user.LogoutResponse, error)
type RechargeWalletLogic ¶
func NewRechargeWalletLogic ¶
func NewRechargeWalletLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RechargeWalletLogic
func (*RechargeWalletLogic) RechargeWallet ¶
func (l *RechargeWalletLogic) RechargeWallet(in *user.RechargeWalletRequest) (*user.RechargeWalletResponse, error)
type RegisterLogic ¶
func NewRegisterLogic ¶
func NewRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterLogic
func (*RegisterLogic) Register ¶
func (l *RegisterLogic) Register(in *user.RegisterRequest) (*user.RegisterResponse, error)
用户注册
type ResetPasswordLogic ¶
func NewResetPasswordLogic ¶
func NewResetPasswordLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ResetPasswordLogic
func (*ResetPasswordLogic) ResetPassword ¶
func (l *ResetPasswordLogic) ResetPassword(in *user.ResetPasswordRequest) (*user.ResetPasswordResponse, error)
重置密码
type UpdateAddressLogic ¶
func NewUpdateAddressLogic ¶
func NewUpdateAddressLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateAddressLogic
func (*UpdateAddressLogic) UpdateAddress ¶
func (l *UpdateAddressLogic) UpdateAddress(in *user.UpdateAddressRequest) (*user.UpdateAddressResponse, error)
type UpdateUserInfoLogic ¶
func NewUpdateUserInfoLogic ¶
func NewUpdateUserInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateUserInfoLogic
func (*UpdateUserInfoLogic) UpdateUserInfo ¶
func (l *UpdateUserInfoLogic) UpdateUserInfo(in *user.UpdateUserInfoRequest) (*user.UpdateUserInfoResponse, error)
更新用户信息
type WithdrawWalletLogic ¶
func NewWithdrawWalletLogic ¶
func NewWithdrawWalletLogic(ctx context.Context, svcCtx *svc.ServiceContext) *WithdrawWalletLogic
func (*WithdrawWalletLogic) WithdrawWallet ¶
func (l *WithdrawWalletLogic) WithdrawWallet(in *user.WithdrawWalletRequest) (*user.WithdrawWalletResponse, error)
Source Files
¶
- addaddresslogic.go
- changepasswordlogic.go
- deleteaddresslogic.go
- getaddresslogic.go
- gettransactionslogic.go
- getuseraddresseslogic.go
- getuserinfologic.go
- getwalletlogic.go
- loginlogic.go
- logoutlogic.go
- rechargewalletlogic.go
- registerlogic.go
- resetpasswordlogic.go
- updateaddresslogic.go
- updateuserinfologic.go
- withdrawwalletlogic.go
Click to show internal directories.
Click to hide internal directories.