Versions in this module Expand all Collapse all v0 v0.0.4 Dec 8, 2023 v0.0.3 Dec 8, 2023 v0.0.2 Dec 8, 2023 Changes in this version + const SignUpService_AddUser_FullMethodName + const SignUpService_CheckValidCode_FullMethodName + const SignUpService_Login_FullMethodName + const SignUpService_RequestValid_FullMethodName + var File_planetmsg_signUp_sign_up_service_proto protoreflect.FileDescriptor + var SignUpService_ServiceDesc = grpc.ServiceDesc + func RegisterSignUpServiceServer(s grpc.ServiceRegistrar, srv SignUpServiceServer) + type CheckEmailReq struct + Email string + VaildCode string + func (*CheckEmailReq) Descriptor() ([]byte, []int) + func (*CheckEmailReq) ProtoMessage() + func (x *CheckEmailReq) GetEmail() string + func (x *CheckEmailReq) GetVaildCode() string + func (x *CheckEmailReq) ProtoReflect() protoreflect.Message + func (x *CheckEmailReq) Reset() + func (x *CheckEmailReq) String() string + type EmailReq struct + Email string + func (*EmailReq) Descriptor() ([]byte, []int) + func (*EmailReq) ProtoMessage() + func (x *EmailReq) GetEmail() string + func (x *EmailReq) ProtoReflect() protoreflect.Message + func (x *EmailReq) Reset() + func (x *EmailReq) String() string + type LoginReq struct + LoginName string + Pwd string + func (*LoginReq) Descriptor() ([]byte, []int) + func (*LoginReq) ProtoMessage() + func (x *LoginReq) GetLoginName() string + func (x *LoginReq) GetPwd() string + func (x *LoginReq) ProtoReflect() protoreflect.Message + func (x *LoginReq) Reset() + func (x *LoginReq) String() string + type MsgRsp struct + Msg string + func (*MsgRsp) Descriptor() ([]byte, []int) + func (*MsgRsp) ProtoMessage() + func (x *MsgRsp) GetMsg() string + func (x *MsgRsp) ProtoReflect() protoreflect.Message + func (x *MsgRsp) Reset() + func (x *MsgRsp) String() string + type SignUpServiceClient interface + AddUser func(ctx context.Context, in *User, opts ...grpc.CallOption) (*MsgRsp, error) + CheckValidCode func(ctx context.Context, in *CheckEmailReq, opts ...grpc.CallOption) (*MsgRsp, error) + Login func(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*TokenRsp, error) + RequestValid func(ctx context.Context, in *EmailReq, opts ...grpc.CallOption) (*MsgRsp, error) + func NewSignUpServiceClient(cc grpc.ClientConnInterface) SignUpServiceClient + type SignUpServiceServer interface + AddUser func(context.Context, *User) (*MsgRsp, error) + CheckValidCode func(context.Context, *CheckEmailReq) (*MsgRsp, error) + Login func(context.Context, *LoginReq) (*TokenRsp, error) + RequestValid func(context.Context, *EmailReq) (*MsgRsp, error) + type TokenRsp struct + Atoken string + Msg string + Rtoken string + func (*TokenRsp) Descriptor() ([]byte, []int) + func (*TokenRsp) ProtoMessage() + func (x *TokenRsp) GetAtoken() string + func (x *TokenRsp) GetMsg() string + func (x *TokenRsp) GetRtoken() string + func (x *TokenRsp) ProtoReflect() protoreflect.Message + func (x *TokenRsp) Reset() + func (x *TokenRsp) String() string + type UnimplementedSignUpServiceServer struct + func (UnimplementedSignUpServiceServer) AddUser(context.Context, *User) (*MsgRsp, error) + func (UnimplementedSignUpServiceServer) CheckValidCode(context.Context, *CheckEmailReq) (*MsgRsp, error) + func (UnimplementedSignUpServiceServer) Login(context.Context, *LoginReq) (*TokenRsp, error) + func (UnimplementedSignUpServiceServer) RequestValid(context.Context, *EmailReq) (*MsgRsp, error) + type UnsafeSignUpServiceServer interface + type User struct + Account string + BirthDay int64 + CreateTime int64 + Email string + Id int32 + LastLoginTime int64 + NickName string + Phone string + PicUrl string + Pwd string + Status int32 + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (x *User) GetAccount() string + func (x *User) GetBirthDay() int64 + func (x *User) GetCreateTime() int64 + func (x *User) GetEmail() string + func (x *User) GetId() int32 + func (x *User) GetLastLoginTime() int64 + func (x *User) GetNickName() string + func (x *User) GetPhone() string + func (x *User) GetPicUrl() string + func (x *User) GetPwd() string + func (x *User) GetStatus() int32 + func (x *User) ProtoReflect() protoreflect.Message + func (x *User) Reset() + func (x *User) String() string