Protorepo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_user_auth_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeleteUserRequest

type DeleteUserRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetUserId

func (x *DeleteUserRequest) GetUserId() 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 GetUserByIDRequest

type GetUserByIDRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

Get user by ID request

func (*GetUserByIDRequest) Descriptor deprecated

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

Deprecated: Use GetUserByIDRequest.ProtoReflect.Descriptor instead.

func (*GetUserByIDRequest) GetUserId

func (x *GetUserByIDRequest) GetUserId() string

func (*GetUserByIDRequest) ProtoMessage

func (*GetUserByIDRequest) ProtoMessage()

func (*GetUserByIDRequest) ProtoReflect

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

func (*GetUserByIDRequest) Reset

func (x *GetUserByIDRequest) Reset()

func (*GetUserByIDRequest) String

func (x *GetUserByIDRequest) String() string

type LoginRequest

type LoginRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Phone    string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
	Otp      string `protobuf:"bytes,4,opt,name=otp,proto3" json:"otp,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

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

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetEmail

func (x *LoginRequest) GetEmail() string

func (*LoginRequest) GetOtp

func (x *LoginRequest) GetOtp() string

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetPhone

func (x *LoginRequest) GetPhone() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

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

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginResponse

type LoginResponse struct {
	Message   string               `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Token     string               `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	ExpiresAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	UserId    string               `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

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

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetExpiresAt

func (x *LoginResponse) GetExpiresAt() *timestamp.Timestamp

func (*LoginResponse) GetMessage

func (x *LoginResponse) GetMessage() string

func (*LoginResponse) GetToken

func (x *LoginResponse) GetToken() string

func (*LoginResponse) GetUserId

func (x *LoginResponse) GetUserId() string

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

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

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

type RegisterRequest

type RegisterRequest struct {
	Email    string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Phone    string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	Otp      string `protobuf:"bytes,4,opt,name=otp,proto3" json:"otp,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) Descriptor deprecated

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) GetEmail

func (x *RegisterRequest) GetEmail() string

func (*RegisterRequest) GetOtp

func (x *RegisterRequest) GetOtp() string

func (*RegisterRequest) GetPassword

func (x *RegisterRequest) GetPassword() string

func (*RegisterRequest) GetPhone

func (x *RegisterRequest) GetPhone() string

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

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

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

type RegisterResponse

type RegisterResponse struct {
	UserId    string               `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Email     string               `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Phone     string               `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
	CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterResponse) Descriptor deprecated

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) GetCreatedAt

func (x *RegisterResponse) GetCreatedAt() *timestamp.Timestamp

func (*RegisterResponse) GetEmail

func (x *RegisterResponse) GetEmail() string

func (*RegisterResponse) GetPhone

func (x *RegisterResponse) GetPhone() string

func (*RegisterResponse) GetUserId

func (x *RegisterResponse) GetUserId() string

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

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

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

type UpdateEmailRequest

type UpdateEmailRequest struct {
	NewEmail string `protobuf:"bytes,1,opt,name=new_email,json=newEmail,proto3" json:"new_email,omitempty"`
	Otp      string `protobuf:"bytes,2,opt,name=otp,proto3" json:"otp,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateEmailRequest) Descriptor deprecated

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

Deprecated: Use UpdateEmailRequest.ProtoReflect.Descriptor instead.

func (*UpdateEmailRequest) GetNewEmail

func (x *UpdateEmailRequest) GetNewEmail() string

func (*UpdateEmailRequest) GetOtp

func (x *UpdateEmailRequest) GetOtp() string

func (*UpdateEmailRequest) ProtoMessage

func (*UpdateEmailRequest) ProtoMessage()

func (*UpdateEmailRequest) ProtoReflect

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

func (*UpdateEmailRequest) Reset

func (x *UpdateEmailRequest) Reset()

func (*UpdateEmailRequest) String

func (x *UpdateEmailRequest) String() string

type UpdatePasswordRequest

type UpdatePasswordRequest struct {
	NewPassword string `protobuf:"bytes,1,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	OldPassword string `protobuf:"bytes,2,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePasswordRequest) Descriptor deprecated

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

Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.

func (*UpdatePasswordRequest) GetNewPassword

func (x *UpdatePasswordRequest) GetNewPassword() string

func (*UpdatePasswordRequest) GetOldPassword

func (x *UpdatePasswordRequest) GetOldPassword() string

func (*UpdatePasswordRequest) ProtoMessage

func (*UpdatePasswordRequest) ProtoMessage()

func (*UpdatePasswordRequest) ProtoReflect

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

func (*UpdatePasswordRequest) Reset

func (x *UpdatePasswordRequest) Reset()

func (*UpdatePasswordRequest) String

func (x *UpdatePasswordRequest) String() string

type UpdatePhoneRequest

type UpdatePhoneRequest struct {
	NewPhone string `protobuf:"bytes,1,opt,name=new_phone,json=newPhone,proto3" json:"new_phone,omitempty"`
	Otp      string `protobuf:"bytes,2,opt,name=otp,proto3" json:"otp,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePhoneRequest) Descriptor deprecated

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

Deprecated: Use UpdatePhoneRequest.ProtoReflect.Descriptor instead.

func (*UpdatePhoneRequest) GetNewPhone

func (x *UpdatePhoneRequest) GetNewPhone() string

func (*UpdatePhoneRequest) GetOtp

func (x *UpdatePhoneRequest) GetOtp() string

func (*UpdatePhoneRequest) ProtoMessage

func (*UpdatePhoneRequest) ProtoMessage()

func (*UpdatePhoneRequest) ProtoReflect

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

func (*UpdatePhoneRequest) Reset

func (x *UpdatePhoneRequest) Reset()

func (*UpdatePhoneRequest) String

func (x *UpdatePhoneRequest) String() string

Directories

Path Synopsis
proto

Jump to

Keyboard shortcuts

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