Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterUsersServiceServer(s grpc.ServiceRegistrar, srv UsersServiceServer)
- type ChangeEmailRequest
- func (*ChangeEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeEmailRequest) GetEmail() string
- func (*ChangeEmailRequest) ProtoMessage()
- func (x *ChangeEmailRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeEmailRequest) Reset()
- func (x *ChangeEmailRequest) String() string
- type ChangeEmailResponse
- func (*ChangeEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeEmailResponse) GetCode() uint32
- func (x *ChangeEmailResponse) GetMessage() string
- func (*ChangeEmailResponse) ProtoMessage()
- func (x *ChangeEmailResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeEmailResponse) Reset()
- func (x *ChangeEmailResponse) String() string
- type ChangePasswordRequest
- func (*ChangePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordRequest) GetNewHashedPassword() string
- func (x *ChangePasswordRequest) GetOldHashedPassword() string
- func (*ChangePasswordRequest) ProtoMessage()
- func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordRequest) Reset()
- func (x *ChangePasswordRequest) String() string
- type ChangePasswordResponse
- func (*ChangePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePasswordResponse) GetCode() uint32
- func (x *ChangePasswordResponse) GetMessage() string
- func (*ChangePasswordResponse) ProtoMessage()
- func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ChangePasswordResponse) Reset()
- func (x *ChangePasswordResponse) String() string
- type ChangePhoneNumberRequest
- func (*ChangePhoneNumberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePhoneNumberRequest) GetPhoneNumber() string
- func (*ChangePhoneNumberRequest) ProtoMessage()
- func (x *ChangePhoneNumberRequest) ProtoReflect() protoreflect.Message
- func (x *ChangePhoneNumberRequest) Reset()
- func (x *ChangePhoneNumberRequest) String() string
- type ChangePhoneNumberResponse
- func (*ChangePhoneNumberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangePhoneNumberResponse) GetCode() uint32
- func (x *ChangePhoneNumberResponse) GetMessage() string
- func (*ChangePhoneNumberResponse) ProtoMessage()
- func (x *ChangePhoneNumberResponse) ProtoReflect() protoreflect.Message
- func (x *ChangePhoneNumberResponse) Reset()
- func (x *ChangePhoneNumberResponse) String() string
- type ChangeUsernameRequest
- func (*ChangeUsernameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeUsernameRequest) GetUsername() string
- func (*ChangeUsernameRequest) ProtoMessage()
- func (x *ChangeUsernameRequest) ProtoReflect() protoreflect.Message
- func (x *ChangeUsernameRequest) Reset()
- func (x *ChangeUsernameRequest) String() string
- type ChangeUsernameResponse
- func (*ChangeUsernameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeUsernameResponse) GetCode() uint32
- func (x *ChangeUsernameResponse) GetMessage() string
- func (*ChangeUsernameResponse) ProtoMessage()
- func (x *ChangeUsernameResponse) ProtoReflect() protoreflect.Message
- func (x *ChangeUsernameResponse) Reset()
- func (x *ChangeUsernameResponse) String() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetHashedPassword() string
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (x *DeleteUserRequest) String() string
- type DeleteUserResponse
- func (*DeleteUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserResponse) GetCode() uint32
- func (x *DeleteUserResponse) GetMessage() string
- func (*DeleteUserResponse) ProtoMessage()
- func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserResponse) Reset()
- func (x *DeleteUserResponse) String() string
- type ForgotPasswordRequest
- func (*ForgotPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ForgotPasswordRequest) GetEmail() string
- func (*ForgotPasswordRequest) ProtoMessage()
- func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ForgotPasswordRequest) Reset()
- func (x *ForgotPasswordRequest) String() string
- type ForgotPasswordResponse
- func (*ForgotPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ForgotPasswordResponse) GetCode() uint32
- func (x *ForgotPasswordResponse) GetMessage() string
- func (*ForgotPasswordResponse) ProtoMessage()
- func (x *ForgotPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ForgotPasswordResponse) Reset()
- func (x *ForgotPasswordResponse) String() string
- type GetActiveEmailsRequest
- type GetActiveEmailsResponse
- func (*GetActiveEmailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetActiveEmailsResponse) GetCode() uint32
- func (x *GetActiveEmailsResponse) GetEmails() []string
- func (x *GetActiveEmailsResponse) GetMessage() string
- func (*GetActiveEmailsResponse) ProtoMessage()
- func (x *GetActiveEmailsResponse) ProtoReflect() protoreflect.Message
- func (x *GetActiveEmailsResponse) Reset()
- func (x *GetActiveEmailsResponse) String() string
- type GetActivePhoneNumbersRequest
- func (*GetActivePhoneNumbersRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetActivePhoneNumbersRequest) ProtoMessage()
- func (x *GetActivePhoneNumbersRequest) ProtoReflect() protoreflect.Message
- func (x *GetActivePhoneNumbersRequest) Reset()
- func (x *GetActivePhoneNumbersRequest) String() string
- type GetActivePhoneNumbersResponse
- func (*GetActivePhoneNumbersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetActivePhoneNumbersResponse) GetCode() uint32
- func (x *GetActivePhoneNumbersResponse) GetMessage() string
- func (x *GetActivePhoneNumbersResponse) GetPhoneNumbers() []string
- func (*GetActivePhoneNumbersResponse) ProtoMessage()
- func (x *GetActivePhoneNumbersResponse) ProtoReflect() protoreflect.Message
- func (x *GetActivePhoneNumbersResponse) Reset()
- func (x *GetActivePhoneNumbersResponse) String() string
- type ResetPasswordRequest
- func (*ResetPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPasswordRequest) GetNewHashedPassword() string
- func (x *ResetPasswordRequest) GetToken() string
- func (*ResetPasswordRequest) ProtoMessage()
- func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *ResetPasswordRequest) Reset()
- func (x *ResetPasswordRequest) String() string
- type ResetPasswordResponse
- func (*ResetPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResetPasswordResponse) GetCode() uint32
- func (x *ResetPasswordResponse) GetMessage() string
- func (*ResetPasswordResponse) ProtoMessage()
- func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *ResetPasswordResponse) Reset()
- func (x *ResetPasswordResponse) String() string
- type SignUpRequest
- func (*SignUpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpRequest) GetBirthDate() *timestamppb.Timestamp
- func (x *SignUpRequest) GetEmail() string
- func (x *SignUpRequest) GetFirstName() string
- func (x *SignUpRequest) GetHashedPassword() string
- func (x *SignUpRequest) GetLastName() string
- func (x *SignUpRequest) GetPhoneNumber() string
- func (x *SignUpRequest) GetUsername() string
- func (*SignUpRequest) ProtoMessage()
- func (x *SignUpRequest) ProtoReflect() protoreflect.Message
- func (x *SignUpRequest) Reset()
- func (x *SignUpRequest) String() string
- type SignUpResponse
- func (*SignUpResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpResponse) GetCode() uint32
- func (x *SignUpResponse) GetMessage() string
- func (*SignUpResponse) ProtoMessage()
- func (x *SignUpResponse) ProtoReflect() protoreflect.Message
- func (x *SignUpResponse) Reset()
- func (x *SignUpResponse) String() string
- type UnimplementedUsersServiceServer
- func (UnimplementedUsersServiceServer) ChangeEmail(context.Context, *ChangeEmailRequest) (*ChangeEmailResponse, error)
- func (UnimplementedUsersServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
- func (UnimplementedUsersServiceServer) ChangePhoneNumber(context.Context, *ChangePhoneNumberRequest) (*ChangePhoneNumberResponse, error)
- func (UnimplementedUsersServiceServer) ChangeUsername(context.Context, *ChangeUsernameRequest) (*ChangeUsernameResponse, error)
- func (UnimplementedUsersServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
- func (UnimplementedUsersServiceServer) ForgotPassword(context.Context, *ForgotPasswordRequest) (*ForgotPasswordResponse, error)
- func (UnimplementedUsersServiceServer) GetActiveEmails(context.Context, *GetActiveEmailsRequest) (*GetActiveEmailsResponse, error)
- func (UnimplementedUsersServiceServer) GetActivePhoneNumbers(context.Context, *GetActivePhoneNumbersRequest) (*GetActivePhoneNumbersResponse, error)
- func (UnimplementedUsersServiceServer) ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error)
- func (UnimplementedUsersServiceServer) SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
- func (UnimplementedUsersServiceServer) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error)
- func (UnimplementedUsersServiceServer) VerifyEmail(context.Context, *VerifyEmailRequest) (*VerifyEmailResponse, error)
- func (UnimplementedUsersServiceServer) VerifyPhoneNumber(context.Context, *VerifyPhoneNumberRequest) (*VerifyPhoneNumberResponse, error)
- type UnsafeUsersServiceServer
- type UpdateProfileRequest
- func (*UpdateProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileRequest) GetAddress() string
- func (x *UpdateProfileRequest) GetBirthDate() *timestamppb.Timestamp
- func (x *UpdateProfileRequest) GetFirstName() string
- func (x *UpdateProfileRequest) GetLastName() string
- func (*UpdateProfileRequest) ProtoMessage()
- func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileRequest) Reset()
- func (x *UpdateProfileRequest) String() string
- type UpdateProfileResponse
- func (*UpdateProfileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileResponse) GetCode() uint32
- func (x *UpdateProfileResponse) GetMessage() string
- func (*UpdateProfileResponse) ProtoMessage()
- func (x *UpdateProfileResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileResponse) Reset()
- func (x *UpdateProfileResponse) String() string
- type UsersServiceClient
- type UsersServiceServer
- type VerifyEmailRequest
- func (*VerifyEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyEmailRequest) GetToken() string
- func (*VerifyEmailRequest) ProtoMessage()
- func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyEmailRequest) Reset()
- func (x *VerifyEmailRequest) String() string
- type VerifyEmailResponse
- func (*VerifyEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyEmailResponse) GetCode() uint32
- func (x *VerifyEmailResponse) GetMessage() string
- func (*VerifyEmailResponse) ProtoMessage()
- func (x *VerifyEmailResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyEmailResponse) Reset()
- func (x *VerifyEmailResponse) String() string
- type VerifyPhoneNumberRequest
- func (*VerifyPhoneNumberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyPhoneNumberRequest) GetToken() string
- func (*VerifyPhoneNumberRequest) ProtoMessage()
- func (x *VerifyPhoneNumberRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyPhoneNumberRequest) Reset()
- func (x *VerifyPhoneNumberRequest) String() string
- type VerifyPhoneNumberResponse
- func (*VerifyPhoneNumberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyPhoneNumberResponse) GetCode() uint32
- func (x *VerifyPhoneNumberResponse) GetMessage() string
- func (*VerifyPhoneNumberResponse) ProtoMessage()
- func (x *VerifyPhoneNumberResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyPhoneNumberResponse) Reset()
- func (x *VerifyPhoneNumberResponse) String() string
Constants ¶
const ( UsersService_SignUp_FullMethodName = "/users_service.UsersService/SignUp" UsersService_UpdateProfile_FullMethodName = "/users_service.UsersService/UpdateProfile" UsersService_ChangeUsername_FullMethodName = "/users_service.UsersService/ChangeUsername" UsersService_ChangePassword_FullMethodName = "/users_service.UsersService/ChangePassword" UsersService_ChangeEmail_FullMethodName = "/users_service.UsersService/ChangeEmail" UsersService_VerifyEmail_FullMethodName = "/users_service.UsersService/VerifyEmail" UsersService_GetActiveEmails_FullMethodName = "/users_service.UsersService/GetActiveEmails" UsersService_ChangePhoneNumber_FullMethodName = "/users_service.UsersService/ChangePhoneNumber" UsersService_VerifyPhoneNumber_FullMethodName = "/users_service.UsersService/VerifyPhoneNumber" UsersService_GetActivePhoneNumbers_FullMethodName = "/users_service.UsersService/GetActivePhoneNumbers" UsersService_ForgotPassword_FullMethodName = "/users_service.UsersService/ForgotPassword" UsersService_ResetPassword_FullMethodName = "/users_service.UsersService/ResetPassword" UsersService_DeleteUser_FullMethodName = "/users_service.UsersService/DeleteUser" )
Variables ¶
var File_protobuf_user_proto protoreflect.FileDescriptor
var UsersService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "users_service.UsersService", HandlerType: (*UsersServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SignUp", Handler: _UsersService_SignUp_Handler, }, { MethodName: "UpdateProfile", Handler: _UsersService_UpdateProfile_Handler, }, { MethodName: "ChangeUsername", Handler: _UsersService_ChangeUsername_Handler, }, { MethodName: "ChangePassword", Handler: _UsersService_ChangePassword_Handler, }, { MethodName: "ChangeEmail", Handler: _UsersService_ChangeEmail_Handler, }, { MethodName: "VerifyEmail", Handler: _UsersService_VerifyEmail_Handler, }, { MethodName: "GetActiveEmails", Handler: _UsersService_GetActiveEmails_Handler, }, { MethodName: "ChangePhoneNumber", Handler: _UsersService_ChangePhoneNumber_Handler, }, { MethodName: "VerifyPhoneNumber", Handler: _UsersService_VerifyPhoneNumber_Handler, }, { MethodName: "GetActivePhoneNumbers", Handler: _UsersService_GetActivePhoneNumbers_Handler, }, { MethodName: "ForgotPassword", Handler: _UsersService_ForgotPassword_Handler, }, { MethodName: "ResetPassword", Handler: _UsersService_ResetPassword_Handler, }, { MethodName: "DeleteUser", Handler: _UsersService_DeleteUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protobuf/user.proto", }
UsersService_ServiceDesc is the grpc.ServiceDesc for UsersService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUsersServiceServer ¶
func RegisterUsersServiceServer(s grpc.ServiceRegistrar, srv UsersServiceServer)
Types ¶
type ChangeEmailRequest ¶
type ChangeEmailRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*ChangeEmailRequest) Descriptor
deprecated
func (*ChangeEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeEmailRequest.ProtoReflect.Descriptor instead.
func (*ChangeEmailRequest) GetEmail ¶
func (x *ChangeEmailRequest) GetEmail() string
func (*ChangeEmailRequest) ProtoMessage ¶
func (*ChangeEmailRequest) ProtoMessage()
func (*ChangeEmailRequest) ProtoReflect ¶
func (x *ChangeEmailRequest) ProtoReflect() protoreflect.Message
func (*ChangeEmailRequest) Reset ¶
func (x *ChangeEmailRequest) Reset()
func (*ChangeEmailRequest) String ¶
func (x *ChangeEmailRequest) String() string
type ChangeEmailResponse ¶
type ChangeEmailResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ChangeEmailResponse) Descriptor
deprecated
func (*ChangeEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeEmailResponse.ProtoReflect.Descriptor instead.
func (*ChangeEmailResponse) GetCode ¶
func (x *ChangeEmailResponse) GetCode() uint32
func (*ChangeEmailResponse) GetMessage ¶
func (x *ChangeEmailResponse) GetMessage() string
func (*ChangeEmailResponse) ProtoMessage ¶
func (*ChangeEmailResponse) ProtoMessage()
func (*ChangeEmailResponse) ProtoReflect ¶
func (x *ChangeEmailResponse) ProtoReflect() protoreflect.Message
func (*ChangeEmailResponse) Reset ¶
func (x *ChangeEmailResponse) Reset()
func (*ChangeEmailResponse) String ¶
func (x *ChangeEmailResponse) String() string
type ChangePasswordRequest ¶
type ChangePasswordRequest struct { OldHashedPassword string `protobuf:"bytes,1,opt,name=old_hashed_password,json=oldHashedPassword,proto3" json:"old_hashed_password,omitempty"` NewHashedPassword string `protobuf:"bytes,2,opt,name=new_hashed_password,json=newHashedPassword,proto3" json:"new_hashed_password,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordRequest) Descriptor
deprecated
func (*ChangePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.
func (*ChangePasswordRequest) GetNewHashedPassword ¶
func (x *ChangePasswordRequest) GetNewHashedPassword() string
func (*ChangePasswordRequest) GetOldHashedPassword ¶
func (x *ChangePasswordRequest) GetOldHashedPassword() string
func (*ChangePasswordRequest) ProtoMessage ¶
func (*ChangePasswordRequest) ProtoMessage()
func (*ChangePasswordRequest) ProtoReflect ¶
func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message
func (*ChangePasswordRequest) Reset ¶
func (x *ChangePasswordRequest) Reset()
func (*ChangePasswordRequest) String ¶
func (x *ChangePasswordRequest) String() string
type ChangePasswordResponse ¶
type ChangePasswordResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ChangePasswordResponse) Descriptor
deprecated
func (*ChangePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.
func (*ChangePasswordResponse) GetCode ¶
func (x *ChangePasswordResponse) GetCode() uint32
func (*ChangePasswordResponse) GetMessage ¶
func (x *ChangePasswordResponse) GetMessage() string
func (*ChangePasswordResponse) ProtoMessage ¶
func (*ChangePasswordResponse) ProtoMessage()
func (*ChangePasswordResponse) ProtoReflect ¶
func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message
func (*ChangePasswordResponse) Reset ¶
func (x *ChangePasswordResponse) Reset()
func (*ChangePasswordResponse) String ¶
func (x *ChangePasswordResponse) String() string
type ChangePhoneNumberRequest ¶
type ChangePhoneNumberRequest struct { PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // contains filtered or unexported fields }
func (*ChangePhoneNumberRequest) Descriptor
deprecated
func (*ChangePhoneNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangePhoneNumberRequest.ProtoReflect.Descriptor instead.
func (*ChangePhoneNumberRequest) GetPhoneNumber ¶
func (x *ChangePhoneNumberRequest) GetPhoneNumber() string
func (*ChangePhoneNumberRequest) ProtoMessage ¶
func (*ChangePhoneNumberRequest) ProtoMessage()
func (*ChangePhoneNumberRequest) ProtoReflect ¶
func (x *ChangePhoneNumberRequest) ProtoReflect() protoreflect.Message
func (*ChangePhoneNumberRequest) Reset ¶
func (x *ChangePhoneNumberRequest) Reset()
func (*ChangePhoneNumberRequest) String ¶
func (x *ChangePhoneNumberRequest) String() string
type ChangePhoneNumberResponse ¶
type ChangePhoneNumberResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ChangePhoneNumberResponse) Descriptor
deprecated
func (*ChangePhoneNumberResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangePhoneNumberResponse.ProtoReflect.Descriptor instead.
func (*ChangePhoneNumberResponse) GetCode ¶
func (x *ChangePhoneNumberResponse) GetCode() uint32
func (*ChangePhoneNumberResponse) GetMessage ¶
func (x *ChangePhoneNumberResponse) GetMessage() string
func (*ChangePhoneNumberResponse) ProtoMessage ¶
func (*ChangePhoneNumberResponse) ProtoMessage()
func (*ChangePhoneNumberResponse) ProtoReflect ¶
func (x *ChangePhoneNumberResponse) ProtoReflect() protoreflect.Message
func (*ChangePhoneNumberResponse) Reset ¶
func (x *ChangePhoneNumberResponse) Reset()
func (*ChangePhoneNumberResponse) String ¶
func (x *ChangePhoneNumberResponse) String() string
type ChangeUsernameRequest ¶
type ChangeUsernameRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*ChangeUsernameRequest) Descriptor
deprecated
func (*ChangeUsernameRequest) Descriptor() ([]byte, []int)
Deprecated: Use ChangeUsernameRequest.ProtoReflect.Descriptor instead.
func (*ChangeUsernameRequest) GetUsername ¶
func (x *ChangeUsernameRequest) GetUsername() string
func (*ChangeUsernameRequest) ProtoMessage ¶
func (*ChangeUsernameRequest) ProtoMessage()
func (*ChangeUsernameRequest) ProtoReflect ¶
func (x *ChangeUsernameRequest) ProtoReflect() protoreflect.Message
func (*ChangeUsernameRequest) Reset ¶
func (x *ChangeUsernameRequest) Reset()
func (*ChangeUsernameRequest) String ¶
func (x *ChangeUsernameRequest) String() string
type ChangeUsernameResponse ¶
type ChangeUsernameResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ChangeUsernameResponse) Descriptor
deprecated
func (*ChangeUsernameResponse) Descriptor() ([]byte, []int)
Deprecated: Use ChangeUsernameResponse.ProtoReflect.Descriptor instead.
func (*ChangeUsernameResponse) GetCode ¶
func (x *ChangeUsernameResponse) GetCode() uint32
func (*ChangeUsernameResponse) GetMessage ¶
func (x *ChangeUsernameResponse) GetMessage() string
func (*ChangeUsernameResponse) ProtoMessage ¶
func (*ChangeUsernameResponse) ProtoMessage()
func (*ChangeUsernameResponse) ProtoReflect ¶
func (x *ChangeUsernameResponse) ProtoReflect() protoreflect.Message
func (*ChangeUsernameResponse) Reset ¶
func (x *ChangeUsernameResponse) Reset()
func (*ChangeUsernameResponse) String ¶
func (x *ChangeUsernameResponse) String() string
type DeleteUserRequest ¶
type DeleteUserRequest struct { HashedPassword string `protobuf:"bytes,1,opt,name=hashed_password,json=hashedPassword,proto3" json:"hashed_password,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserRequest) Descriptor
deprecated
func (*DeleteUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserRequest) GetHashedPassword ¶
func (x *DeleteUserRequest) GetHashedPassword() string
func (*DeleteUserRequest) ProtoMessage ¶
func (*DeleteUserRequest) ProtoMessage()
func (*DeleteUserRequest) ProtoReflect ¶
func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserRequest) Reset ¶
func (x *DeleteUserRequest) Reset()
func (*DeleteUserRequest) String ¶
func (x *DeleteUserRequest) String() string
type DeleteUserResponse ¶
type DeleteUserResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserResponse) Descriptor
deprecated
func (*DeleteUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserResponse) GetCode ¶
func (x *DeleteUserResponse) GetCode() uint32
func (*DeleteUserResponse) GetMessage ¶
func (x *DeleteUserResponse) GetMessage() string
func (*DeleteUserResponse) ProtoMessage ¶
func (*DeleteUserResponse) ProtoMessage()
func (*DeleteUserResponse) ProtoReflect ¶
func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserResponse) Reset ¶
func (x *DeleteUserResponse) Reset()
func (*DeleteUserResponse) String ¶
func (x *DeleteUserResponse) String() string
type ForgotPasswordRequest ¶
type ForgotPasswordRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*ForgotPasswordRequest) Descriptor
deprecated
func (*ForgotPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ForgotPasswordRequest.ProtoReflect.Descriptor instead.
func (*ForgotPasswordRequest) GetEmail ¶
func (x *ForgotPasswordRequest) GetEmail() string
func (*ForgotPasswordRequest) ProtoMessage ¶
func (*ForgotPasswordRequest) ProtoMessage()
func (*ForgotPasswordRequest) ProtoReflect ¶
func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message
func (*ForgotPasswordRequest) Reset ¶
func (x *ForgotPasswordRequest) Reset()
func (*ForgotPasswordRequest) String ¶
func (x *ForgotPasswordRequest) String() string
type ForgotPasswordResponse ¶
type ForgotPasswordResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ForgotPasswordResponse) Descriptor
deprecated
func (*ForgotPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForgotPasswordResponse.ProtoReflect.Descriptor instead.
func (*ForgotPasswordResponse) GetCode ¶
func (x *ForgotPasswordResponse) GetCode() uint32
func (*ForgotPasswordResponse) GetMessage ¶
func (x *ForgotPasswordResponse) GetMessage() string
func (*ForgotPasswordResponse) ProtoMessage ¶
func (*ForgotPasswordResponse) ProtoMessage()
func (*ForgotPasswordResponse) ProtoReflect ¶
func (x *ForgotPasswordResponse) ProtoReflect() protoreflect.Message
func (*ForgotPasswordResponse) Reset ¶
func (x *ForgotPasswordResponse) Reset()
func (*ForgotPasswordResponse) String ¶
func (x *ForgotPasswordResponse) String() string
type GetActiveEmailsRequest ¶
type GetActiveEmailsRequest struct {
// contains filtered or unexported fields
}
func (*GetActiveEmailsRequest) Descriptor
deprecated
func (*GetActiveEmailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActiveEmailsRequest.ProtoReflect.Descriptor instead.
func (*GetActiveEmailsRequest) ProtoMessage ¶
func (*GetActiveEmailsRequest) ProtoMessage()
func (*GetActiveEmailsRequest) ProtoReflect ¶
func (x *GetActiveEmailsRequest) ProtoReflect() protoreflect.Message
func (*GetActiveEmailsRequest) Reset ¶
func (x *GetActiveEmailsRequest) Reset()
func (*GetActiveEmailsRequest) String ¶
func (x *GetActiveEmailsRequest) String() string
type GetActiveEmailsResponse ¶
type GetActiveEmailsResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Emails []string `protobuf:"bytes,3,rep,name=emails,proto3" json:"emails,omitempty"` // contains filtered or unexported fields }
func (*GetActiveEmailsResponse) Descriptor
deprecated
func (*GetActiveEmailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetActiveEmailsResponse.ProtoReflect.Descriptor instead.
func (*GetActiveEmailsResponse) GetCode ¶
func (x *GetActiveEmailsResponse) GetCode() uint32
func (*GetActiveEmailsResponse) GetEmails ¶
func (x *GetActiveEmailsResponse) GetEmails() []string
func (*GetActiveEmailsResponse) GetMessage ¶
func (x *GetActiveEmailsResponse) GetMessage() string
func (*GetActiveEmailsResponse) ProtoMessage ¶
func (*GetActiveEmailsResponse) ProtoMessage()
func (*GetActiveEmailsResponse) ProtoReflect ¶
func (x *GetActiveEmailsResponse) ProtoReflect() protoreflect.Message
func (*GetActiveEmailsResponse) Reset ¶
func (x *GetActiveEmailsResponse) Reset()
func (*GetActiveEmailsResponse) String ¶
func (x *GetActiveEmailsResponse) String() string
type GetActivePhoneNumbersRequest ¶
type GetActivePhoneNumbersRequest struct {
// contains filtered or unexported fields
}
func (*GetActivePhoneNumbersRequest) Descriptor
deprecated
func (*GetActivePhoneNumbersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActivePhoneNumbersRequest.ProtoReflect.Descriptor instead.
func (*GetActivePhoneNumbersRequest) ProtoMessage ¶
func (*GetActivePhoneNumbersRequest) ProtoMessage()
func (*GetActivePhoneNumbersRequest) ProtoReflect ¶
func (x *GetActivePhoneNumbersRequest) ProtoReflect() protoreflect.Message
func (*GetActivePhoneNumbersRequest) Reset ¶
func (x *GetActivePhoneNumbersRequest) Reset()
func (*GetActivePhoneNumbersRequest) String ¶
func (x *GetActivePhoneNumbersRequest) String() string
type GetActivePhoneNumbersResponse ¶
type GetActivePhoneNumbersResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` PhoneNumbers []string `protobuf:"bytes,3,rep,name=phone_numbers,json=phoneNumbers,proto3" json:"phone_numbers,omitempty"` // contains filtered or unexported fields }
func (*GetActivePhoneNumbersResponse) Descriptor
deprecated
func (*GetActivePhoneNumbersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetActivePhoneNumbersResponse.ProtoReflect.Descriptor instead.
func (*GetActivePhoneNumbersResponse) GetCode ¶
func (x *GetActivePhoneNumbersResponse) GetCode() uint32
func (*GetActivePhoneNumbersResponse) GetMessage ¶
func (x *GetActivePhoneNumbersResponse) GetMessage() string
func (*GetActivePhoneNumbersResponse) GetPhoneNumbers ¶
func (x *GetActivePhoneNumbersResponse) GetPhoneNumbers() []string
func (*GetActivePhoneNumbersResponse) ProtoMessage ¶
func (*GetActivePhoneNumbersResponse) ProtoMessage()
func (*GetActivePhoneNumbersResponse) ProtoReflect ¶
func (x *GetActivePhoneNumbersResponse) ProtoReflect() protoreflect.Message
func (*GetActivePhoneNumbersResponse) Reset ¶
func (x *GetActivePhoneNumbersResponse) Reset()
func (*GetActivePhoneNumbersResponse) String ¶
func (x *GetActivePhoneNumbersResponse) String() string
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` NewHashedPassword string `protobuf:"bytes,2,opt,name=new_hashed_password,json=newHashedPassword,proto3" json:"new_hashed_password,omitempty"` // contains filtered or unexported fields }
func (*ResetPasswordRequest) Descriptor
deprecated
func (*ResetPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.
func (*ResetPasswordRequest) GetNewHashedPassword ¶
func (x *ResetPasswordRequest) GetNewHashedPassword() string
func (*ResetPasswordRequest) GetToken ¶
func (x *ResetPasswordRequest) GetToken() string
func (*ResetPasswordRequest) ProtoMessage ¶
func (*ResetPasswordRequest) ProtoMessage()
func (*ResetPasswordRequest) ProtoReflect ¶
func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message
func (*ResetPasswordRequest) Reset ¶
func (x *ResetPasswordRequest) Reset()
func (*ResetPasswordRequest) String ¶
func (x *ResetPasswordRequest) String() string
type ResetPasswordResponse ¶
type ResetPasswordResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*ResetPasswordResponse) Descriptor
deprecated
func (*ResetPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.
func (*ResetPasswordResponse) GetCode ¶
func (x *ResetPasswordResponse) GetCode() uint32
func (*ResetPasswordResponse) GetMessage ¶
func (x *ResetPasswordResponse) GetMessage() string
func (*ResetPasswordResponse) ProtoMessage ¶
func (*ResetPasswordResponse) ProtoMessage()
func (*ResetPasswordResponse) ProtoReflect ¶
func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message
func (*ResetPasswordResponse) Reset ¶
func (x *ResetPasswordResponse) Reset()
func (*ResetPasswordResponse) String ¶
func (x *ResetPasswordResponse) String() string
type SignUpRequest ¶
type SignUpRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` HashedPassword string `protobuf:"bytes,2,opt,name=hashed_password,json=hashedPassword,proto3" json:"hashed_password,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` PhoneNumber string `protobuf:"bytes,6,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` BirthDate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=birth_date,json=birthDate,proto3,oneof" json:"birth_date,omitempty"` // contains filtered or unexported fields }
func (*SignUpRequest) Descriptor
deprecated
func (*SignUpRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.
func (*SignUpRequest) GetBirthDate ¶
func (x *SignUpRequest) GetBirthDate() *timestamppb.Timestamp
func (*SignUpRequest) GetEmail ¶
func (x *SignUpRequest) GetEmail() string
func (*SignUpRequest) GetFirstName ¶
func (x *SignUpRequest) GetFirstName() string
func (*SignUpRequest) GetHashedPassword ¶
func (x *SignUpRequest) GetHashedPassword() string
func (*SignUpRequest) GetLastName ¶
func (x *SignUpRequest) GetLastName() string
func (*SignUpRequest) GetPhoneNumber ¶
func (x *SignUpRequest) GetPhoneNumber() string
func (*SignUpRequest) GetUsername ¶
func (x *SignUpRequest) GetUsername() string
func (*SignUpRequest) ProtoMessage ¶
func (*SignUpRequest) ProtoMessage()
func (*SignUpRequest) ProtoReflect ¶
func (x *SignUpRequest) ProtoReflect() protoreflect.Message
func (*SignUpRequest) Reset ¶
func (x *SignUpRequest) Reset()
func (*SignUpRequest) String ¶
func (x *SignUpRequest) String() string
type SignUpResponse ¶
type SignUpResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*SignUpResponse) Descriptor
deprecated
func (*SignUpResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignUpResponse.ProtoReflect.Descriptor instead.
func (*SignUpResponse) GetCode ¶
func (x *SignUpResponse) GetCode() uint32
func (*SignUpResponse) GetMessage ¶
func (x *SignUpResponse) GetMessage() string
func (*SignUpResponse) ProtoMessage ¶
func (*SignUpResponse) ProtoMessage()
func (*SignUpResponse) ProtoReflect ¶
func (x *SignUpResponse) ProtoReflect() protoreflect.Message
func (*SignUpResponse) Reset ¶
func (x *SignUpResponse) Reset()
func (*SignUpResponse) String ¶
func (x *SignUpResponse) String() string
type UnimplementedUsersServiceServer ¶
type UnimplementedUsersServiceServer struct{}
UnimplementedUsersServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedUsersServiceServer) ChangeEmail ¶
func (UnimplementedUsersServiceServer) ChangeEmail(context.Context, *ChangeEmailRequest) (*ChangeEmailResponse, error)
func (UnimplementedUsersServiceServer) ChangePassword ¶
func (UnimplementedUsersServiceServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
func (UnimplementedUsersServiceServer) ChangePhoneNumber ¶
func (UnimplementedUsersServiceServer) ChangePhoneNumber(context.Context, *ChangePhoneNumberRequest) (*ChangePhoneNumberResponse, error)
func (UnimplementedUsersServiceServer) ChangeUsername ¶
func (UnimplementedUsersServiceServer) ChangeUsername(context.Context, *ChangeUsernameRequest) (*ChangeUsernameResponse, error)
func (UnimplementedUsersServiceServer) DeleteUser ¶
func (UnimplementedUsersServiceServer) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
func (UnimplementedUsersServiceServer) ForgotPassword ¶
func (UnimplementedUsersServiceServer) ForgotPassword(context.Context, *ForgotPasswordRequest) (*ForgotPasswordResponse, error)
func (UnimplementedUsersServiceServer) GetActiveEmails ¶
func (UnimplementedUsersServiceServer) GetActiveEmails(context.Context, *GetActiveEmailsRequest) (*GetActiveEmailsResponse, error)
func (UnimplementedUsersServiceServer) GetActivePhoneNumbers ¶
func (UnimplementedUsersServiceServer) GetActivePhoneNumbers(context.Context, *GetActivePhoneNumbersRequest) (*GetActivePhoneNumbersResponse, error)
func (UnimplementedUsersServiceServer) ResetPassword ¶
func (UnimplementedUsersServiceServer) ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error)
func (UnimplementedUsersServiceServer) SignUp ¶
func (UnimplementedUsersServiceServer) SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
func (UnimplementedUsersServiceServer) UpdateProfile ¶
func (UnimplementedUsersServiceServer) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error)
func (UnimplementedUsersServiceServer) VerifyEmail ¶
func (UnimplementedUsersServiceServer) VerifyEmail(context.Context, *VerifyEmailRequest) (*VerifyEmailResponse, error)
func (UnimplementedUsersServiceServer) VerifyPhoneNumber ¶
func (UnimplementedUsersServiceServer) VerifyPhoneNumber(context.Context, *VerifyPhoneNumberRequest) (*VerifyPhoneNumberResponse, error)
type UnsafeUsersServiceServer ¶
type UnsafeUsersServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUsersServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsersServiceServer will result in compilation errors.
type UpdateProfileRequest ¶
type UpdateProfileRequest struct { FirstName *string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"` LastName *string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"` Address *string `protobuf:"bytes,3,opt,name=address,proto3,oneof" json:"address,omitempty"` BirthDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=birth_date,json=birthDate,proto3,oneof" json:"birth_date,omitempty"` // contains filtered or unexported fields }
func (*UpdateProfileRequest) Descriptor
deprecated
func (*UpdateProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateProfileRequest) GetAddress ¶
func (x *UpdateProfileRequest) GetAddress() string
func (*UpdateProfileRequest) GetBirthDate ¶
func (x *UpdateProfileRequest) GetBirthDate() *timestamppb.Timestamp
func (*UpdateProfileRequest) GetFirstName ¶
func (x *UpdateProfileRequest) GetFirstName() string
func (*UpdateProfileRequest) GetLastName ¶
func (x *UpdateProfileRequest) GetLastName() string
func (*UpdateProfileRequest) ProtoMessage ¶
func (*UpdateProfileRequest) ProtoMessage()
func (*UpdateProfileRequest) ProtoReflect ¶
func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message
func (*UpdateProfileRequest) Reset ¶
func (x *UpdateProfileRequest) Reset()
func (*UpdateProfileRequest) String ¶
func (x *UpdateProfileRequest) String() string
type UpdateProfileResponse ¶
type UpdateProfileResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*UpdateProfileResponse) Descriptor
deprecated
func (*UpdateProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileResponse.ProtoReflect.Descriptor instead.
func (*UpdateProfileResponse) GetCode ¶
func (x *UpdateProfileResponse) GetCode() uint32
func (*UpdateProfileResponse) GetMessage ¶
func (x *UpdateProfileResponse) GetMessage() string
func (*UpdateProfileResponse) ProtoMessage ¶
func (*UpdateProfileResponse) ProtoMessage()
func (*UpdateProfileResponse) ProtoReflect ¶
func (x *UpdateProfileResponse) ProtoReflect() protoreflect.Message
func (*UpdateProfileResponse) Reset ¶
func (x *UpdateProfileResponse) Reset()
func (*UpdateProfileResponse) String ¶
func (x *UpdateProfileResponse) String() string
type UsersServiceClient ¶
type UsersServiceClient interface { SignUp(ctx context.Context, in *SignUpRequest, opts ...grpc.CallOption) (*SignUpResponse, error) UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*UpdateProfileResponse, error) ChangeUsername(ctx context.Context, in *ChangeUsernameRequest, opts ...grpc.CallOption) (*ChangeUsernameResponse, error) ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error) ChangeEmail(ctx context.Context, in *ChangeEmailRequest, opts ...grpc.CallOption) (*ChangeEmailResponse, error) VerifyEmail(ctx context.Context, in *VerifyEmailRequest, opts ...grpc.CallOption) (*VerifyEmailResponse, error) GetActiveEmails(ctx context.Context, in *GetActiveEmailsRequest, opts ...grpc.CallOption) (*GetActiveEmailsResponse, error) ChangePhoneNumber(ctx context.Context, in *ChangePhoneNumberRequest, opts ...grpc.CallOption) (*ChangePhoneNumberResponse, error) VerifyPhoneNumber(ctx context.Context, in *VerifyPhoneNumberRequest, opts ...grpc.CallOption) (*VerifyPhoneNumberResponse, error) GetActivePhoneNumbers(ctx context.Context, in *GetActivePhoneNumbersRequest, opts ...grpc.CallOption) (*GetActivePhoneNumbersResponse, error) ForgotPassword(ctx context.Context, in *ForgotPasswordRequest, opts ...grpc.CallOption) (*ForgotPasswordResponse, error) ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*ResetPasswordResponse, error) DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) }
UsersServiceClient is the client API for UsersService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUsersServiceClient ¶
func NewUsersServiceClient(cc grpc.ClientConnInterface) UsersServiceClient
type UsersServiceServer ¶
type UsersServiceServer interface { SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error) ChangeUsername(context.Context, *ChangeUsernameRequest) (*ChangeUsernameResponse, error) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error) ChangeEmail(context.Context, *ChangeEmailRequest) (*ChangeEmailResponse, error) VerifyEmail(context.Context, *VerifyEmailRequest) (*VerifyEmailResponse, error) GetActiveEmails(context.Context, *GetActiveEmailsRequest) (*GetActiveEmailsResponse, error) ChangePhoneNumber(context.Context, *ChangePhoneNumberRequest) (*ChangePhoneNumberResponse, error) VerifyPhoneNumber(context.Context, *VerifyPhoneNumberRequest) (*VerifyPhoneNumberResponse, error) GetActivePhoneNumbers(context.Context, *GetActivePhoneNumbersRequest) (*GetActivePhoneNumbersResponse, error) ForgotPassword(context.Context, *ForgotPasswordRequest) (*ForgotPasswordResponse, error) ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error) DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error) // contains filtered or unexported methods }
UsersServiceServer is the server API for UsersService service. All implementations must embed UnimplementedUsersServiceServer for forward compatibility.
type VerifyEmailRequest ¶
type VerifyEmailRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*VerifyEmailRequest) Descriptor
deprecated
func (*VerifyEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyEmailRequest.ProtoReflect.Descriptor instead.
func (*VerifyEmailRequest) GetToken ¶
func (x *VerifyEmailRequest) GetToken() string
func (*VerifyEmailRequest) ProtoMessage ¶
func (*VerifyEmailRequest) ProtoMessage()
func (*VerifyEmailRequest) ProtoReflect ¶
func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message
func (*VerifyEmailRequest) Reset ¶
func (x *VerifyEmailRequest) Reset()
func (*VerifyEmailRequest) String ¶
func (x *VerifyEmailRequest) String() string
type VerifyEmailResponse ¶
type VerifyEmailResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*VerifyEmailResponse) Descriptor
deprecated
func (*VerifyEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyEmailResponse.ProtoReflect.Descriptor instead.
func (*VerifyEmailResponse) GetCode ¶
func (x *VerifyEmailResponse) GetCode() uint32
func (*VerifyEmailResponse) GetMessage ¶
func (x *VerifyEmailResponse) GetMessage() string
func (*VerifyEmailResponse) ProtoMessage ¶
func (*VerifyEmailResponse) ProtoMessage()
func (*VerifyEmailResponse) ProtoReflect ¶
func (x *VerifyEmailResponse) ProtoReflect() protoreflect.Message
func (*VerifyEmailResponse) Reset ¶
func (x *VerifyEmailResponse) Reset()
func (*VerifyEmailResponse) String ¶
func (x *VerifyEmailResponse) String() string
type VerifyPhoneNumberRequest ¶
type VerifyPhoneNumberRequest struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*VerifyPhoneNumberRequest) Descriptor
deprecated
func (*VerifyPhoneNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyPhoneNumberRequest.ProtoReflect.Descriptor instead.
func (*VerifyPhoneNumberRequest) GetToken ¶
func (x *VerifyPhoneNumberRequest) GetToken() string
func (*VerifyPhoneNumberRequest) ProtoMessage ¶
func (*VerifyPhoneNumberRequest) ProtoMessage()
func (*VerifyPhoneNumberRequest) ProtoReflect ¶
func (x *VerifyPhoneNumberRequest) ProtoReflect() protoreflect.Message
func (*VerifyPhoneNumberRequest) Reset ¶
func (x *VerifyPhoneNumberRequest) Reset()
func (*VerifyPhoneNumberRequest) String ¶
func (x *VerifyPhoneNumberRequest) String() string
type VerifyPhoneNumberResponse ¶
type VerifyPhoneNumberResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*VerifyPhoneNumberResponse) Descriptor
deprecated
func (*VerifyPhoneNumberResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyPhoneNumberResponse.ProtoReflect.Descriptor instead.
func (*VerifyPhoneNumberResponse) GetCode ¶
func (x *VerifyPhoneNumberResponse) GetCode() uint32
func (*VerifyPhoneNumberResponse) GetMessage ¶
func (x *VerifyPhoneNumberResponse) GetMessage() string
func (*VerifyPhoneNumberResponse) ProtoMessage ¶
func (*VerifyPhoneNumberResponse) ProtoMessage()
func (*VerifyPhoneNumberResponse) ProtoReflect ¶
func (x *VerifyPhoneNumberResponse) ProtoReflect() protoreflect.Message
func (*VerifyPhoneNumberResponse) Reset ¶
func (x *VerifyPhoneNumberResponse) Reset()
func (*VerifyPhoneNumberResponse) String ¶
func (x *VerifyPhoneNumberResponse) String() string