api

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_userservice_proto protoreflect.FileDescriptor

Functions

func RegisterUserServiceServer

func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)

Types

type ActivateAccountReq

type ActivateAccountReq struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateAccountReq) Descriptor deprecated

func (*ActivateAccountReq) Descriptor() ([]byte, []int)

Deprecated: Use ActivateAccountReq.ProtoReflect.Descriptor instead.

func (*ActivateAccountReq) GetKey added in v1.0.2

func (x *ActivateAccountReq) GetKey() string

func (*ActivateAccountReq) ProtoMessage

func (*ActivateAccountReq) ProtoMessage()

func (*ActivateAccountReq) ProtoReflect

func (x *ActivateAccountReq) ProtoReflect() protoreflect.Message

func (*ActivateAccountReq) Reset

func (x *ActivateAccountReq) Reset()

func (*ActivateAccountReq) String

func (x *ActivateAccountReq) String() string

type ActivateAccountResp

type ActivateAccountResp struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Token   string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateAccountResp) Descriptor deprecated

func (*ActivateAccountResp) Descriptor() ([]byte, []int)

Deprecated: Use ActivateAccountResp.ProtoReflect.Descriptor instead.

func (*ActivateAccountResp) GetMessage

func (x *ActivateAccountResp) GetMessage() string

func (*ActivateAccountResp) GetSuccess

func (x *ActivateAccountResp) GetSuccess() bool

func (*ActivateAccountResp) GetToken

func (x *ActivateAccountResp) GetToken() string

func (*ActivateAccountResp) ProtoMessage

func (*ActivateAccountResp) ProtoMessage()

func (*ActivateAccountResp) ProtoReflect

func (x *ActivateAccountResp) ProtoReflect() protoreflect.Message

func (*ActivateAccountResp) Reset

func (x *ActivateAccountResp) Reset()

func (*ActivateAccountResp) String

func (x *ActivateAccountResp) String() string

type CancelReq

type CancelReq struct {
	Token    string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelReq) Descriptor deprecated

func (*CancelReq) Descriptor() ([]byte, []int)

Deprecated: Use CancelReq.ProtoReflect.Descriptor instead.

func (*CancelReq) GetPassword

func (x *CancelReq) GetPassword() string

func (*CancelReq) GetToken

func (x *CancelReq) GetToken() string

func (*CancelReq) ProtoMessage

func (*CancelReq) ProtoMessage()

func (*CancelReq) ProtoReflect

func (x *CancelReq) ProtoReflect() protoreflect.Message

func (*CancelReq) Reset

func (x *CancelReq) Reset()

func (*CancelReq) String

func (x *CancelReq) String() string

type CancelResp

type CancelResp struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelResp) Descriptor deprecated

func (*CancelResp) Descriptor() ([]byte, []int)

Deprecated: Use CancelResp.ProtoReflect.Descriptor instead.

func (*CancelResp) GetMessage

func (x *CancelResp) GetMessage() string

func (*CancelResp) GetSuccess

func (x *CancelResp) GetSuccess() bool

func (*CancelResp) ProtoMessage

func (*CancelResp) ProtoMessage()

func (*CancelResp) ProtoReflect

func (x *CancelResp) ProtoReflect() protoreflect.Message

func (*CancelResp) Reset

func (x *CancelResp) Reset()

func (*CancelResp) String

func (x *CancelResp) String() string

type GetUserInfoReq

type GetUserInfoReq struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserInfoReq) Descriptor deprecated

func (*GetUserInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoReq.ProtoReflect.Descriptor instead.

func (*GetUserInfoReq) GetToken

func (x *GetUserInfoReq) GetToken() string

func (*GetUserInfoReq) ProtoMessage

func (*GetUserInfoReq) ProtoMessage()

func (*GetUserInfoReq) ProtoReflect

func (x *GetUserInfoReq) ProtoReflect() protoreflect.Message

func (*GetUserInfoReq) Reset

func (x *GetUserInfoReq) Reset()

func (*GetUserInfoReq) String

func (x *GetUserInfoReq) String() string

type GetUserInfoResp

type GetUserInfoResp struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	User    *User  `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserInfoResp) Descriptor deprecated

func (*GetUserInfoResp) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoResp.ProtoReflect.Descriptor instead.

func (*GetUserInfoResp) GetMessage

func (x *GetUserInfoResp) GetMessage() string

func (*GetUserInfoResp) GetSuccess

func (x *GetUserInfoResp) GetSuccess() bool

func (*GetUserInfoResp) GetUser

func (x *GetUserInfoResp) GetUser() *User

func (*GetUserInfoResp) ProtoMessage

func (*GetUserInfoResp) ProtoMessage()

func (*GetUserInfoResp) ProtoReflect

func (x *GetUserInfoResp) ProtoReflect() protoreflect.Message

func (*GetUserInfoResp) Reset

func (x *GetUserInfoResp) Reset()

func (*GetUserInfoResp) String

func (x *GetUserInfoResp) String() string

type SignInReq

type SignInReq struct {
	Id       int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInReq) Descriptor deprecated

func (*SignInReq) Descriptor() ([]byte, []int)

Deprecated: Use SignInReq.ProtoReflect.Descriptor instead.

func (*SignInReq) GetId

func (x *SignInReq) GetId() int32

func (*SignInReq) GetPassword

func (x *SignInReq) GetPassword() string

func (*SignInReq) ProtoMessage

func (*SignInReq) ProtoMessage()

func (*SignInReq) ProtoReflect

func (x *SignInReq) ProtoReflect() protoreflect.Message

func (*SignInReq) Reset

func (x *SignInReq) Reset()

func (*SignInReq) String

func (x *SignInReq) String() string

type SignInResp

type SignInResp struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Token   string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*SignInResp) Descriptor deprecated

func (*SignInResp) Descriptor() ([]byte, []int)

Deprecated: Use SignInResp.ProtoReflect.Descriptor instead.

func (*SignInResp) GetMessage

func (x *SignInResp) GetMessage() string

func (*SignInResp) GetSuccess

func (x *SignInResp) GetSuccess() bool

func (*SignInResp) GetToken

func (x *SignInResp) GetToken() string

func (*SignInResp) ProtoMessage

func (*SignInResp) ProtoMessage()

func (*SignInResp) ProtoReflect

func (x *SignInResp) ProtoReflect() protoreflect.Message

func (*SignInResp) Reset

func (x *SignInResp) Reset()

func (*SignInResp) String

func (x *SignInResp) String() string

type SignOutReq

type SignOutReq struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*SignOutReq) Descriptor deprecated

func (*SignOutReq) Descriptor() ([]byte, []int)

Deprecated: Use SignOutReq.ProtoReflect.Descriptor instead.

func (*SignOutReq) GetToken

func (x *SignOutReq) GetToken() string

func (*SignOutReq) ProtoMessage

func (*SignOutReq) ProtoMessage()

func (*SignOutReq) ProtoReflect

func (x *SignOutReq) ProtoReflect() protoreflect.Message

func (*SignOutReq) Reset

func (x *SignOutReq) Reset()

func (*SignOutReq) String

func (x *SignOutReq) String() string

type SignOutResp

type SignOutResp struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SignOutResp) Descriptor deprecated

func (*SignOutResp) Descriptor() ([]byte, []int)

Deprecated: Use SignOutResp.ProtoReflect.Descriptor instead.

func (*SignOutResp) GetMessage

func (x *SignOutResp) GetMessage() string

func (*SignOutResp) GetSuccess

func (x *SignOutResp) GetSuccess() bool

func (*SignOutResp) ProtoMessage

func (*SignOutResp) ProtoMessage()

func (*SignOutResp) ProtoReflect

func (x *SignOutResp) ProtoReflect() protoreflect.Message

func (*SignOutResp) Reset

func (x *SignOutResp) Reset()

func (*SignOutResp) String

func (x *SignOutResp) String() string

type SignUpReq

type SignUpReq struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Email    string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Tel      int32  `protobuf:"varint,4,opt,name=tel,proto3" json:"tel,omitempty"`
	// contains filtered or unexported fields
}

func (*SignUpReq) Descriptor deprecated

func (*SignUpReq) Descriptor() ([]byte, []int)

Deprecated: Use SignUpReq.ProtoReflect.Descriptor instead.

func (*SignUpReq) GetEmail

func (x *SignUpReq) GetEmail() string

func (*SignUpReq) GetName

func (x *SignUpReq) GetName() string

func (*SignUpReq) GetPassword

func (x *SignUpReq) GetPassword() string

func (*SignUpReq) GetTel

func (x *SignUpReq) GetTel() int32

func (*SignUpReq) ProtoMessage

func (*SignUpReq) ProtoMessage()

func (*SignUpReq) ProtoReflect

func (x *SignUpReq) ProtoReflect() protoreflect.Message

func (*SignUpReq) Reset

func (x *SignUpReq) Reset()

func (*SignUpReq) String

func (x *SignUpReq) String() string

type SignUpResp

type SignUpResp struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Id      int32  `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
	Key     string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*SignUpResp) Descriptor deprecated

func (*SignUpResp) Descriptor() ([]byte, []int)

Deprecated: Use SignUpResp.ProtoReflect.Descriptor instead.

func (*SignUpResp) GetId

func (x *SignUpResp) GetId() int32

func (*SignUpResp) GetKey added in v1.0.2

func (x *SignUpResp) GetKey() string

func (*SignUpResp) GetMessage

func (x *SignUpResp) GetMessage() string

func (*SignUpResp) GetSuccess

func (x *SignUpResp) GetSuccess() bool

func (*SignUpResp) ProtoMessage

func (*SignUpResp) ProtoMessage()

func (*SignUpResp) ProtoReflect

func (x *SignUpResp) ProtoReflect() protoreflect.Message

func (*SignUpResp) Reset

func (x *SignUpResp) Reset()

func (*SignUpResp) String

func (x *SignUpResp) String() string

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedUserServiceServer) ActivateAccount

func (*UnimplementedUserServiceServer) Cancel

func (*UnimplementedUserServiceServer) GetUserInfo

func (*UnimplementedUserServiceServer) SignIn

func (*UnimplementedUserServiceServer) SignOut

func (*UnimplementedUserServiceServer) SignUp

func (*UnimplementedUserServiceServer) UpdateEmail added in v1.1.0

func (*UnimplementedUserServiceServer) UpdatePassword

func (*UnimplementedUserServiceServer) UpdateProfile added in v1.0.5

func (*UnimplementedUserServiceServer) UpdateUserInfo

func (*UnimplementedUserServiceServer) UploadProfile added in v1.1.0

type UpdateEmailReq added in v1.1.0

type UpdateEmailReq struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEmailReq) Descriptor deprecated added in v1.1.0

func (*UpdateEmailReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEmailReq.ProtoReflect.Descriptor instead.

func (*UpdateEmailReq) GetEmail added in v1.1.0

func (x *UpdateEmailReq) GetEmail() string

func (*UpdateEmailReq) GetToken added in v1.1.0

func (x *UpdateEmailReq) GetToken() string

func (*UpdateEmailReq) ProtoMessage added in v1.1.0

func (*UpdateEmailReq) ProtoMessage()

func (*UpdateEmailReq) ProtoReflect added in v1.1.0

func (x *UpdateEmailReq) ProtoReflect() protoreflect.Message

func (*UpdateEmailReq) Reset added in v1.1.0

func (x *UpdateEmailReq) Reset()

func (*UpdateEmailReq) String added in v1.1.0

func (x *UpdateEmailReq) String() string

type UpdateEmailResp added in v1.1.0

type UpdateEmailResp struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Key     string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEmailResp) Descriptor deprecated added in v1.1.0

func (*UpdateEmailResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateEmailResp.ProtoReflect.Descriptor instead.

func (*UpdateEmailResp) GetKey added in v1.1.0

func (x *UpdateEmailResp) GetKey() string

func (*UpdateEmailResp) GetMessage added in v1.1.0

func (x *UpdateEmailResp) GetMessage() string

func (*UpdateEmailResp) GetSuccess added in v1.1.0

func (x *UpdateEmailResp) GetSuccess() bool

func (*UpdateEmailResp) ProtoMessage added in v1.1.0

func (*UpdateEmailResp) ProtoMessage()

func (*UpdateEmailResp) ProtoReflect added in v1.1.0

func (x *UpdateEmailResp) ProtoReflect() protoreflect.Message

func (*UpdateEmailResp) Reset added in v1.1.0

func (x *UpdateEmailResp) Reset()

func (*UpdateEmailResp) String added in v1.1.0

func (x *UpdateEmailResp) String() string

type UpdatePasswordReq

type UpdatePasswordReq struct {
	Token       string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Password    string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	NewPassword string `protobuf:"bytes,3,opt,name=newPassword,proto3" json:"newPassword,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePasswordReq) Descriptor deprecated

func (*UpdatePasswordReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordReq.ProtoReflect.Descriptor instead.

func (*UpdatePasswordReq) GetNewPassword

func (x *UpdatePasswordReq) GetNewPassword() string

func (*UpdatePasswordReq) GetPassword

func (x *UpdatePasswordReq) GetPassword() string

func (*UpdatePasswordReq) GetToken

func (x *UpdatePasswordReq) GetToken() string

func (*UpdatePasswordReq) ProtoMessage

func (*UpdatePasswordReq) ProtoMessage()

func (*UpdatePasswordReq) ProtoReflect

func (x *UpdatePasswordReq) ProtoReflect() protoreflect.Message

func (*UpdatePasswordReq) Reset

func (x *UpdatePasswordReq) Reset()

func (*UpdatePasswordReq) String

func (x *UpdatePasswordReq) String() string

type UpdatePasswordResp

type UpdatePasswordResp struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePasswordResp) Descriptor deprecated

func (*UpdatePasswordResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordResp.ProtoReflect.Descriptor instead.

func (*UpdatePasswordResp) GetMessage

func (x *UpdatePasswordResp) GetMessage() string

func (*UpdatePasswordResp) GetSuccess

func (x *UpdatePasswordResp) GetSuccess() bool

func (*UpdatePasswordResp) ProtoMessage

func (*UpdatePasswordResp) ProtoMessage()

func (*UpdatePasswordResp) ProtoReflect

func (x *UpdatePasswordResp) ProtoReflect() protoreflect.Message

func (*UpdatePasswordResp) Reset

func (x *UpdatePasswordResp) Reset()

func (*UpdatePasswordResp) String

func (x *UpdatePasswordResp) String() string

type UpdateProfileReq added in v1.0.5

type UpdateProfileReq struct {
	Token   string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Profile string `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProfileReq) Descriptor deprecated added in v1.0.5

func (*UpdateProfileReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProfileReq.ProtoReflect.Descriptor instead.

func (*UpdateProfileReq) GetProfile added in v1.1.0

func (x *UpdateProfileReq) GetProfile() string

func (*UpdateProfileReq) GetToken added in v1.0.5

func (x *UpdateProfileReq) GetToken() string

func (*UpdateProfileReq) ProtoMessage added in v1.0.5

func (*UpdateProfileReq) ProtoMessage()

func (*UpdateProfileReq) ProtoReflect added in v1.0.5

func (x *UpdateProfileReq) ProtoReflect() protoreflect.Message

func (*UpdateProfileReq) Reset added in v1.0.5

func (x *UpdateProfileReq) Reset()

func (*UpdateProfileReq) String added in v1.0.5

func (x *UpdateProfileReq) String() string

type UpdateProfileResp added in v1.0.5

type UpdateProfileResp struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateProfileResp) Descriptor deprecated added in v1.0.5

func (*UpdateProfileResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateProfileResp.ProtoReflect.Descriptor instead.

func (*UpdateProfileResp) GetMessage added in v1.0.5

func (x *UpdateProfileResp) GetMessage() string

func (*UpdateProfileResp) GetSuccess added in v1.0.5

func (x *UpdateProfileResp) GetSuccess() bool

func (*UpdateProfileResp) ProtoMessage added in v1.0.5

func (*UpdateProfileResp) ProtoMessage()

func (*UpdateProfileResp) ProtoReflect added in v1.0.5

func (x *UpdateProfileResp) ProtoReflect() protoreflect.Message

func (*UpdateProfileResp) Reset added in v1.0.5

func (x *UpdateProfileResp) Reset()

func (*UpdateProfileResp) String added in v1.0.5

func (x *UpdateProfileResp) String() string

type UpdateUserInfoReq

type UpdateUserInfoReq struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Tel   int32  `protobuf:"varint,3,opt,name=tel,proto3" json:"tel,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserInfoReq) Descriptor deprecated

func (*UpdateUserInfoReq) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserInfoReq.ProtoReflect.Descriptor instead.

func (*UpdateUserInfoReq) GetName

func (x *UpdateUserInfoReq) GetName() string

func (*UpdateUserInfoReq) GetTel

func (x *UpdateUserInfoReq) GetTel() int32

func (*UpdateUserInfoReq) GetToken

func (x *UpdateUserInfoReq) GetToken() string

func (*UpdateUserInfoReq) ProtoMessage

func (*UpdateUserInfoReq) ProtoMessage()

func (*UpdateUserInfoReq) ProtoReflect

func (x *UpdateUserInfoReq) ProtoReflect() protoreflect.Message

func (*UpdateUserInfoReq) Reset

func (x *UpdateUserInfoReq) Reset()

func (*UpdateUserInfoReq) String

func (x *UpdateUserInfoReq) String() string

type UpdateUserInfoResp

type UpdateUserInfoResp struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserInfoResp) Descriptor deprecated

func (*UpdateUserInfoResp) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserInfoResp.ProtoReflect.Descriptor instead.

func (*UpdateUserInfoResp) GetMessage

func (x *UpdateUserInfoResp) GetMessage() string

func (*UpdateUserInfoResp) GetSuccess

func (x *UpdateUserInfoResp) GetSuccess() bool

func (*UpdateUserInfoResp) ProtoMessage

func (*UpdateUserInfoResp) ProtoMessage()

func (*UpdateUserInfoResp) ProtoReflect

func (x *UpdateUserInfoResp) ProtoReflect() protoreflect.Message

func (*UpdateUserInfoResp) Reset

func (x *UpdateUserInfoResp) Reset()

func (*UpdateUserInfoResp) String

func (x *UpdateUserInfoResp) String() string

type UploadProfileReq added in v1.1.0

type UploadProfileReq struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	File  []byte `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadProfileReq) Descriptor deprecated added in v1.1.0

func (*UploadProfileReq) Descriptor() ([]byte, []int)

Deprecated: Use UploadProfileReq.ProtoReflect.Descriptor instead.

func (*UploadProfileReq) GetFile added in v1.1.0

func (x *UploadProfileReq) GetFile() []byte

func (*UploadProfileReq) GetToken added in v1.1.0

func (x *UploadProfileReq) GetToken() string

func (*UploadProfileReq) ProtoMessage added in v1.1.0

func (*UploadProfileReq) ProtoMessage()

func (*UploadProfileReq) ProtoReflect added in v1.1.0

func (x *UploadProfileReq) ProtoReflect() protoreflect.Message

func (*UploadProfileReq) Reset added in v1.1.0

func (x *UploadProfileReq) Reset()

func (*UploadProfileReq) String added in v1.1.0

func (x *UploadProfileReq) String() string

type UploadProfileResp added in v1.1.0

type UploadProfileResp struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Profile string `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*UploadProfileResp) Descriptor deprecated added in v1.1.0

func (*UploadProfileResp) Descriptor() ([]byte, []int)

Deprecated: Use UploadProfileResp.ProtoReflect.Descriptor instead.

func (*UploadProfileResp) GetMessage added in v1.1.0

func (x *UploadProfileResp) GetMessage() string

func (*UploadProfileResp) GetProfile added in v1.1.0

func (x *UploadProfileResp) GetProfile() string

func (*UploadProfileResp) GetSuccess added in v1.1.0

func (x *UploadProfileResp) GetSuccess() bool

func (*UploadProfileResp) ProtoMessage added in v1.1.0

func (*UploadProfileResp) ProtoMessage()

func (*UploadProfileResp) ProtoReflect added in v1.1.0

func (x *UploadProfileResp) ProtoReflect() protoreflect.Message

func (*UploadProfileResp) Reset added in v1.1.0

func (x *UploadProfileResp) Reset()

func (*UploadProfileResp) String added in v1.1.0

func (x *UploadProfileResp) String() string

type User

type User struct {
	Id      int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Profile string `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"`
	Email   string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Tel     int32  `protobuf:"varint,5,opt,name=tel,proto3" json:"tel,omitempty"`
	Status  int32  `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetId

func (x *User) GetId() int32

func (*User) GetName

func (x *User) GetName() string

func (*User) GetProfile added in v1.0.5

func (x *User) GetProfile() string

func (*User) GetStatus

func (x *User) GetStatus() int32

func (*User) GetTel

func (x *User) GetTel() int32

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserServiceClient

type UserServiceClient interface {
	SignUp(ctx context.Context, in *SignUpReq, opts ...grpc.CallOption) (*SignUpResp, error)
	ActivateAccount(ctx context.Context, in *ActivateAccountReq, opts ...grpc.CallOption) (*ActivateAccountResp, error)
	SignIn(ctx context.Context, in *SignInReq, opts ...grpc.CallOption) (*SignInResp, error)
	SignOut(ctx context.Context, in *SignOutReq, opts ...grpc.CallOption) (*SignOutResp, error)
	Cancel(ctx context.Context, in *CancelReq, opts ...grpc.CallOption) (*CancelResp, error)
	GetUserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResp, error)
	UploadProfile(ctx context.Context, in *UploadProfileReq, opts ...grpc.CallOption) (*UploadProfileResp, error)
	UpdateProfile(ctx context.Context, in *UpdateProfileReq, opts ...grpc.CallOption) (*UpdateProfileResp, error)
	UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error)
	UpdatePassword(ctx context.Context, in *UpdatePasswordReq, opts ...grpc.CallOption) (*UpdatePasswordResp, error)
	UpdateEmail(ctx context.Context, in *UpdateEmailReq, opts ...grpc.CallOption) (*UpdateEmailResp, error)
}

UserServiceClient is the client API for UserService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type UserServiceServer

UserServiceServer is the server API for UserService service.

Jump to

Keyboard shortcuts

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