Documentation ¶
Index ¶
- type UserServer
- func (us *UserServer) Ban(ctx context.Context, req *pb.BanReq) (*pb.BanResp, error)
- func (us *UserServer) GetInfo(ctx context.Context, req *pb.GetInfoReq) (*pb.GetInfoResp, error)
- func (us *UserServer) Login(ctx context.Context, req *pb.LoginReq) (*pb.LoginResp, error)
- func (us *UserServer) ModifyInfo(ctx context.Context, req *pb.ModifyInfoReq) (*pb.ModifyInfoResp, error)
- func (us *UserServer) Register(ctx context.Context, req *pb.RegisterReq) (*pb.RegisterResp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServer ¶
type UserServer struct {
pb.UnimplementedUserServiceServer
}
func (*UserServer) GetInfo ¶
func (us *UserServer) GetInfo(ctx context.Context, req *pb.GetInfoReq) (*pb.GetInfoResp, error)
func (*UserServer) ModifyInfo ¶
func (us *UserServer) ModifyInfo(ctx context.Context, req *pb.ModifyInfoReq) (*pb.ModifyInfoResp, error)
func (*UserServer) Register ¶
func (us *UserServer) Register(ctx context.Context, req *pb.RegisterReq) (*pb.RegisterResp, error)
Click to show internal directories.
Click to hide internal directories.