handlers

package
v0.0.0-...-cd92494 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserLogin

type UserLogin struct {
	// contains filtered or unexported fields
}

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)

用户最近一周垃圾数据统计

Jump to

Keyboard shortcuts

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