Documentation ¶
Index ¶
Constants ¶
View Source
const SN = "com.example.srv.user"
定义services名称
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func (*UserHandler) Login ¶
func (u *UserHandler) Login(ctx context.Context, req *pb.LoginRequest, rsp *pb.LoginResponse) error
func (*UserHandler) UserInfo ¶
func (u *UserHandler) UserInfo(ctx context.Context, req *pb.UserInfoRequest, rsp *pb.UserInfoResponse) error
Click to show internal directories.
Click to hide internal directories.