client

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountClient

type AccountClient interface {
	// 用户配置
	Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error)
	UpPass(ctx context.Context, in *UpPassReq, opts ...grpc.CallOption) (*UpPassResp, error)
	UserAdd(ctx context.Context, in *UserAddReq, opts ...grpc.CallOption) (*UserResp, error)
	UserEdit(ctx context.Context, in *UserEditReq, opts ...grpc.CallOption) (*UserResp, error)
	UserDel(ctx context.Context, in *UserDelReq, opts ...grpc.CallOption) (*UserResp, error)
	UserList(ctx context.Context, in *UserListReq, opts ...grpc.CallOption) (*UserListResp, error)
}

func NewUserClient

func NewUserClient(cli zrpc.ClientInter) AccountClient

type AccountRouter

type AccountRouter interface {
	Login() wscore.IRouter
	UpPass() wscore.IRouter
	UserAdd() wscore.IRouter
	UserEdit() wscore.IRouter
	UserDel() wscore.IRouter
	UserList() wscore.IRouter
	RegisterRouter
}

func NewAccountRouter

func NewAccountRouter(cli zrpc.ClientInter) AccountRouter

type LoginReq

type LoginReq = user.LoginReq

type LoginResp

type LoginResp = user.LoginResp

type PageParam

type PageParam = user.PageParam

type RegisterRouter

type RegisterRouter interface {
	RegisterAccountMethods()
	Handler() wscore.IMsgHandler
}

type SorterParam

type SorterParam = user.SorterParam

type Status

type Status = user.Status

type UpPassReq

type UpPassReq = user.UpPassReq

type UpPassResp

type UpPassResp = user.UpPassResp

type User

type User = user.User

type UserAddReq

type UserAddReq = user.UserAddReq

type UserDelReq

type UserDelReq = user.UserDelReq

type UserEditReq

type UserEditReq = user.UserEditReq

type UserListReq

type UserListReq = user.UserListReq

type UserListResp

type UserListResp = user.UserListResp

type UserResp

type UserResp = user.UserResp

Jump to

Keyboard shortcuts

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