Documentation ¶
Index ¶
- type UserLogin
- type UserServer
- func (*UserServer) GetBinInfo(ctx context.Context, req *pb.UserId) (*pb.BinInfoReply, error)
- func (*UserServer) GetBinStatus(ctx context.Context, req *pb.UserId) (*pb.BinStatusReply, error)
- func (*UserServer) GetUserInfo(ctx context.Context, req *pb.UserId) (*pb.UserInfoReply, error)
- func (*UserServer) GetUserScores(ctx context.Context, req *pb.Null) (*pb.UserScoresReply, error)
- func (*UserServer) UserLogin(ctx context.Context, req *pb.LoginRequest) (*pb.Null, error)
- func (*UserServer) UserRegister(ctx context.Context, req *pb.RegisterRequest) (*pb.UserId, error)
- func (*UserServer) UserUpdate(ctx context.Context, req *pb.UserUpdateRequest) (*pb.Null, error)
- func (*UserServer) WasteCount(ctx context.Context, req *pb.UserId) (*pb.WasteCountReply, error)
- func (*UserServer) WeekWasteCount(ctx context.Context, req *pb.UserId) (*pb.WeekWasteCountReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserServer ¶
type UserServer struct { }
func NewService ¶
func NewService() *UserServer
func (*UserServer) GetBinInfo ¶
func (*UserServer) GetBinInfo(ctx context.Context, req *pb.UserId) (*pb.BinInfoReply, error)
实时获取用户垃圾桶信息
func (*UserServer) GetBinStatus ¶
func (*UserServer) GetBinStatus(ctx context.Context, req *pb.UserId) (*pb.BinStatusReply, error)
实时获取用户垃圾桶状态
func (*UserServer) GetUserInfo ¶
func (*UserServer) GetUserInfo(ctx context.Context, req *pb.UserId) (*pb.UserInfoReply, error)
用户信息查询
func (*UserServer) GetUserScores ¶
func (*UserServer) GetUserScores(ctx context.Context, req *pb.Null) (*pb.UserScoresReply, error)
用户信息查询
func (*UserServer) UserLogin ¶
func (*UserServer) UserLogin(ctx context.Context, req *pb.LoginRequest) (*pb.Null, error)
用户登录
func (*UserServer) UserRegister ¶
func (*UserServer) UserRegister(ctx context.Context, req *pb.RegisterRequest) (*pb.UserId, error)
用户注册
func (*UserServer) UserUpdate ¶
func (*UserServer) UserUpdate(ctx context.Context, req *pb.UserUpdateRequest) (*pb.Null, error)
用户信息修改
func (*UserServer) WasteCount ¶
func (*UserServer) WasteCount(ctx context.Context, req *pb.UserId) (*pb.WasteCountReply, error)
用户垃圾数据统计
func (*UserServer) WeekWasteCount ¶
func (*UserServer) WeekWasteCount(ctx context.Context, req *pb.UserId) (*pb.WeekWasteCountReply, error)
用户最近一周垃圾数据统计
Click to show internal directories.
Click to hide internal directories.