user

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
var File_protobuf_user_proto protoreflect.FileDescriptor
View Source
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 (*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 (*GetActivePhoneNumbersRequest) Reset

func (x *GetActivePhoneNumbersRequest) Reset()

func (*GetActivePhoneNumbersRequest) 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 (*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 (*GetActivePhoneNumbersResponse) Reset

func (x *GetActivePhoneNumbersResponse) Reset()

func (*GetActivePhoneNumbersResponse) 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) ChangePassword

func (UnimplementedUsersServiceServer) ChangePhoneNumber

func (UnimplementedUsersServiceServer) ChangeUsername

func (UnimplementedUsersServiceServer) DeleteUser

func (UnimplementedUsersServiceServer) ForgotPassword

func (UnimplementedUsersServiceServer) GetActiveEmails

func (UnimplementedUsersServiceServer) ResetPassword

func (UnimplementedUsersServiceServer) SignUp

func (UnimplementedUsersServiceServer) UpdateProfile

func (UnimplementedUsersServiceServer) VerifyEmail

func (UnimplementedUsersServiceServer) VerifyPhoneNumber

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.

type UsersServiceServer

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 (*VerifyPhoneNumberResponse) Reset

func (x *VerifyPhoneNumberResponse) Reset()

func (*VerifyPhoneNumberResponse) String

func (x *VerifyPhoneNumberResponse) String() string

Jump to

Keyboard shortcuts

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