Documentation
¶
Index ¶
- Variables
- func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
- type Address
- func (*Address) Descriptor() ([]byte, []int)deprecated
- func (x *Address) GetCity() string
- func (x *Address) GetCountry() string
- func (x *Address) GetZip() string
- func (*Address) ProtoMessage()
- func (x *Address) ProtoReflect() protoreflect.Message
- func (x *Address) Reset()
- func (x *Address) String() string
- type Birthday
- func (*Birthday) Descriptor() ([]byte, []int)deprecated
- func (x *Birthday) GetDay() int32
- func (x *Birthday) GetMonth() int32
- func (x *Birthday) GetYear() int32
- func (*Birthday) ProtoMessage()
- func (x *Birthday) ProtoReflect() protoreflect.Message
- func (x *Birthday) Reset()
- func (x *Birthday) String() string
- type GetUserFromInternalServiceRequest
- func (*GetUserFromInternalServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserFromInternalServiceRequest) GetUserId() string
- func (*GetUserFromInternalServiceRequest) ProtoMessage()
- func (x *GetUserFromInternalServiceRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserFromInternalServiceRequest) Reset()
- func (x *GetUserFromInternalServiceRequest) String() string
- type GetUserProfileStrengthRequest
- func (*GetUserProfileStrengthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserProfileStrengthRequest) GetUserId() string
- func (*GetUserProfileStrengthRequest) ProtoMessage()
- func (x *GetUserProfileStrengthRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserProfileStrengthRequest) Reset()
- func (x *GetUserProfileStrengthRequest) String() string
- type GetUserProfileStrengthResponse
- func (*GetUserProfileStrengthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserProfileStrengthResponse) GetDescription() string
- func (x *GetUserProfileStrengthResponse) GetPercentage() int32
- func (x *GetUserProfileStrengthResponse) GetStrength() string
- func (*GetUserProfileStrengthResponse) ProtoMessage()
- func (x *GetUserProfileStrengthResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserProfileStrengthResponse) Reset()
- func (x *GetUserProfileStrengthResponse) String() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetRequested() string
- func (x *GetUserRequest) GetRequester() string
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- type GetUserResponse
- type GetUsersRequest
- type GetUsersResponse
- type Profile
- func (*Profile) Descriptor() ([]byte, []int)deprecated
- func (x *Profile) GetAddress() *Address
- func (x *Profile) GetAvatarUpdatedAt() *timestamp.Timestamp
- func (x *Profile) GetAvatarUrl() string
- func (x *Profile) GetBiography() string
- func (x *Profile) GetBirthday() *Birthday
- func (x *Profile) GetFirstName() string
- func (x *Profile) GetLastName() string
- func (x *Profile) GetLastUpdatedApp() *timestamp.Timestamp
- func (*Profile) ProtoMessage()
- func (x *Profile) ProtoReflect() protoreflect.Message
- func (x *Profile) Reset()
- func (x *Profile) String() string
- type UnimplementedUserServiceServer
- func (*UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (*UnimplementedUserServiceServer) GetUserFromInternalService(context.Context, *GetUserFromInternalServiceRequest) (*GetUserResponse, error)
- func (*UnimplementedUserServiceServer) GetUserProfileStrength(context.Context, *GetUserProfileStrengthRequest) (*GetUserProfileStrengthResponse, error)
- func (*UnimplementedUserServiceServer) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
- func (*UnimplementedUserServiceServer) UpdateAvatar(context.Context, *UpdateAvatarRequest) (*empty.Empty, error)
- func (*UnimplementedUserServiceServer) UpdateEmail(context.Context, *UpdateEmailRequest) (*empty.Empty, error)
- func (*UnimplementedUserServiceServer) UpdateLastUpdatedApp(context.Context, *UpdateLastUpdatedAppRequest) (*empty.Empty, error)
- func (*UnimplementedUserServiceServer) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error)
- func (*UnimplementedUserServiceServer) UserExists(context.Context, *UserExistsRequest) (*UserExistsResponse, error)
- func (*UnimplementedUserServiceServer) VerifyEmail(context.Context, *VerifyEmailRequest) (*empty.Empty, error)
- type UpdateAvatarRequest
- func (*UpdateAvatarRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAvatarRequest) GetKey() string
- func (x *UpdateAvatarRequest) GetUrl() string
- func (x *UpdateAvatarRequest) GetUserId() string
- func (*UpdateAvatarRequest) ProtoMessage()
- func (x *UpdateAvatarRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAvatarRequest) Reset()
- func (x *UpdateAvatarRequest) String() string
- type UpdateEmailRequest
- func (*UpdateEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEmailRequest) GetEmail() string
- func (x *UpdateEmailRequest) GetUserId() string
- func (*UpdateEmailRequest) ProtoMessage()
- func (x *UpdateEmailRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEmailRequest) Reset()
- func (x *UpdateEmailRequest) String() string
- type UpdateLastUpdatedAppRequest
- func (*UpdateLastUpdatedAppRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateLastUpdatedAppRequest) GetUserId() string
- func (*UpdateLastUpdatedAppRequest) ProtoMessage()
- func (x *UpdateLastUpdatedAppRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateLastUpdatedAppRequest) Reset()
- func (x *UpdateLastUpdatedAppRequest) String() string
- type UpdateProfileRequest
- func (*UpdateProfileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateProfileRequest) GetProfile() *Profile
- func (x *UpdateProfileRequest) GetUserId() 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) GetSuccess() bool
- func (*UpdateProfileResponse) ProtoMessage()
- func (x *UpdateProfileResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateProfileResponse) Reset()
- func (x *UpdateProfileResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetEmail() string
- func (x *User) GetEmailVerified() bool
- func (x *User) GetId() string
- func (x *User) GetPhoneNumber() string
- func (x *User) GetProfile() *Profile
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserExistsRequest
- func (*UserExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserExistsRequest) GetAppSecret() string
- func (x *UserExistsRequest) GetNumber() string
- func (*UserExistsRequest) ProtoMessage()
- func (x *UserExistsRequest) ProtoReflect() protoreflect.Message
- func (x *UserExistsRequest) Reset()
- func (x *UserExistsRequest) String() string
- type UserExistsResponse
- func (*UserExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UserExistsResponse) GetExists() bool
- func (*UserExistsResponse) ProtoMessage()
- func (x *UserExistsResponse) ProtoReflect() protoreflect.Message
- func (x *UserExistsResponse) Reset()
- func (x *UserExistsResponse) String() string
- type UserServiceClient
- type UserServiceServer
- type VerifyEmailRequest
- func (*VerifyEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyEmailRequest) GetCode() string
- func (x *VerifyEmailRequest) GetEmail() string
- func (x *VerifyEmailRequest) GetUserId() string
- func (*VerifyEmailRequest) ProtoMessage()
- func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyEmailRequest) Reset()
- func (x *VerifyEmailRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_api_protobuf_spec_user_user_v1_proto protoreflect.FileDescriptor
Functions ¶
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)
Types ¶
type Address ¶
type Address struct { Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` Zip string `protobuf:"bytes,2,opt,name=zip,proto3" json:"zip,omitempty"` City string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"` // contains filtered or unexported fields }
func (*Address) Descriptor
deprecated
func (*Address) GetCountry ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) ProtoReflect ¶
func (x *Address) ProtoReflect() protoreflect.Message
type Birthday ¶
type Birthday struct { Day int32 `protobuf:"varint,1,opt,name=day,proto3" json:"day,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` Year int32 `protobuf:"varint,3,opt,name=year,proto3" json:"year,omitempty"` // contains filtered or unexported fields }
func (*Birthday) Descriptor
deprecated
func (*Birthday) ProtoMessage ¶
func (*Birthday) ProtoMessage()
func (*Birthday) ProtoReflect ¶
func (x *Birthday) ProtoReflect() protoreflect.Message
type GetUserFromInternalServiceRequest ¶ added in v0.11.2
type GetUserFromInternalServiceRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetUserFromInternalServiceRequest) Descriptor
deprecated
added in
v0.11.2
func (*GetUserFromInternalServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserFromInternalServiceRequest.ProtoReflect.Descriptor instead.
func (*GetUserFromInternalServiceRequest) GetUserId ¶ added in v0.11.2
func (x *GetUserFromInternalServiceRequest) GetUserId() string
func (*GetUserFromInternalServiceRequest) ProtoMessage ¶ added in v0.11.2
func (*GetUserFromInternalServiceRequest) ProtoMessage()
func (*GetUserFromInternalServiceRequest) ProtoReflect ¶ added in v0.11.2
func (x *GetUserFromInternalServiceRequest) ProtoReflect() protoreflect.Message
func (*GetUserFromInternalServiceRequest) Reset ¶ added in v0.11.2
func (x *GetUserFromInternalServiceRequest) Reset()
func (*GetUserFromInternalServiceRequest) String ¶ added in v0.11.2
func (x *GetUserFromInternalServiceRequest) String() string
type GetUserProfileStrengthRequest ¶ added in v0.10.1
type GetUserProfileStrengthRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetUserProfileStrengthRequest) Descriptor
deprecated
added in
v0.10.1
func (*GetUserProfileStrengthRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserProfileStrengthRequest.ProtoReflect.Descriptor instead.
func (*GetUserProfileStrengthRequest) GetUserId ¶ added in v0.10.1
func (x *GetUserProfileStrengthRequest) GetUserId() string
func (*GetUserProfileStrengthRequest) ProtoMessage ¶ added in v0.10.1
func (*GetUserProfileStrengthRequest) ProtoMessage()
func (*GetUserProfileStrengthRequest) ProtoReflect ¶ added in v0.10.1
func (x *GetUserProfileStrengthRequest) ProtoReflect() protoreflect.Message
func (*GetUserProfileStrengthRequest) Reset ¶ added in v0.10.1
func (x *GetUserProfileStrengthRequest) Reset()
func (*GetUserProfileStrengthRequest) String ¶ added in v0.10.1
func (x *GetUserProfileStrengthRequest) String() string
type GetUserProfileStrengthResponse ¶ added in v0.10.1
type GetUserProfileStrengthResponse struct { Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` Strength string `protobuf:"bytes,2,opt,name=strength,proto3" json:"strength,omitempty"` Percentage int32 `protobuf:"varint,3,opt,name=percentage,proto3" json:"percentage,omitempty"` // contains filtered or unexported fields }
func (*GetUserProfileStrengthResponse) Descriptor
deprecated
added in
v0.10.1
func (*GetUserProfileStrengthResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserProfileStrengthResponse.ProtoReflect.Descriptor instead.
func (*GetUserProfileStrengthResponse) GetDescription ¶ added in v0.10.1
func (x *GetUserProfileStrengthResponse) GetDescription() string
func (*GetUserProfileStrengthResponse) GetPercentage ¶ added in v0.10.1
func (x *GetUserProfileStrengthResponse) GetPercentage() int32
func (*GetUserProfileStrengthResponse) GetStrength ¶ added in v0.10.1
func (x *GetUserProfileStrengthResponse) GetStrength() string
func (*GetUserProfileStrengthResponse) ProtoMessage ¶ added in v0.10.1
func (*GetUserProfileStrengthResponse) ProtoMessage()
func (*GetUserProfileStrengthResponse) ProtoReflect ¶ added in v0.10.1
func (x *GetUserProfileStrengthResponse) ProtoReflect() protoreflect.Message
func (*GetUserProfileStrengthResponse) Reset ¶ added in v0.10.1
func (x *GetUserProfileStrengthResponse) Reset()
func (*GetUserProfileStrengthResponse) String ¶ added in v0.10.1
func (x *GetUserProfileStrengthResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { Requester string `protobuf:"bytes,1,opt,name=requester,proto3" json:"requester,omitempty"` Requested string `protobuf:"bytes,2,opt,name=requested,proto3" json:"requested,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetRequested ¶
func (x *GetUserRequest) GetRequested() string
func (*GetUserRequest) GetRequester ¶
func (x *GetUserRequest) GetRequester() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type GetUsersRequest ¶
type GetUsersRequest struct { Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*GetUsersRequest) Descriptor
deprecated
func (*GetUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead.
func (*GetUsersRequest) GetUsers ¶
func (x *GetUsersRequest) GetUsers() []string
func (*GetUsersRequest) ProtoMessage ¶
func (*GetUsersRequest) ProtoMessage()
func (*GetUsersRequest) ProtoReflect ¶
func (x *GetUsersRequest) ProtoReflect() protoreflect.Message
func (*GetUsersRequest) Reset ¶
func (x *GetUsersRequest) Reset()
func (*GetUsersRequest) String ¶
func (x *GetUsersRequest) String() string
type GetUsersResponse ¶
type GetUsersResponse struct { User []*User `protobuf:"bytes,1,rep,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUsersResponse) Descriptor
deprecated
func (*GetUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersResponse.ProtoReflect.Descriptor instead.
func (*GetUsersResponse) GetUser ¶
func (x *GetUsersResponse) GetUser() []*User
func (*GetUsersResponse) ProtoMessage ¶
func (*GetUsersResponse) ProtoMessage()
func (*GetUsersResponse) ProtoReflect ¶
func (x *GetUsersResponse) ProtoReflect() protoreflect.Message
func (*GetUsersResponse) Reset ¶
func (x *GetUsersResponse) Reset()
func (*GetUsersResponse) String ¶
func (x *GetUsersResponse) String() string
type Profile ¶
type Profile struct { FirstName string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` Birthday *Birthday `protobuf:"bytes,3,opt,name=birthday,proto3" json:"birthday,omitempty"` Address *Address `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` Biography string `protobuf:"bytes,6,opt,name=biography,proto3" json:"biography,omitempty"` AvatarUpdatedAt *timestamp.Timestamp `protobuf:"bytes,7,opt,name=avatar_updated_at,json=avatarUpdatedAt,proto3" json:"avatar_updated_at,omitempty"` LastUpdatedApp *timestamp.Timestamp `protobuf:"bytes,8,opt,name=last_updated_app,json=lastUpdatedApp,proto3" json:"last_updated_app,omitempty"` // contains filtered or unexported fields }
func (*Profile) Descriptor
deprecated
func (*Profile) GetAddress ¶
func (*Profile) GetAvatarUpdatedAt ¶ added in v0.8.3
func (*Profile) GetAvatarUrl ¶
func (*Profile) GetBiography ¶
func (*Profile) GetBirthday ¶
func (*Profile) GetFirstName ¶
func (*Profile) GetLastName ¶
func (*Profile) GetLastUpdatedApp ¶ added in v0.18.1
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
func (*Profile) ProtoReflect ¶
func (x *Profile) ProtoReflect() protoreflect.Message
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedUserServiceServer) GetUser ¶
func (*UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (*UnimplementedUserServiceServer) GetUserFromInternalService ¶ added in v0.11.1
func (*UnimplementedUserServiceServer) GetUserFromInternalService(context.Context, *GetUserFromInternalServiceRequest) (*GetUserResponse, error)
func (*UnimplementedUserServiceServer) GetUserProfileStrength ¶ added in v0.10.1
func (*UnimplementedUserServiceServer) GetUserProfileStrength(context.Context, *GetUserProfileStrengthRequest) (*GetUserProfileStrengthResponse, error)
func (*UnimplementedUserServiceServer) GetUsers ¶
func (*UnimplementedUserServiceServer) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
func (*UnimplementedUserServiceServer) UpdateAvatar ¶ added in v0.4.5
func (*UnimplementedUserServiceServer) UpdateAvatar(context.Context, *UpdateAvatarRequest) (*empty.Empty, error)
func (*UnimplementedUserServiceServer) UpdateEmail ¶ added in v0.12.1
func (*UnimplementedUserServiceServer) UpdateEmail(context.Context, *UpdateEmailRequest) (*empty.Empty, error)
func (*UnimplementedUserServiceServer) UpdateLastUpdatedApp ¶ added in v0.18.1
func (*UnimplementedUserServiceServer) UpdateLastUpdatedApp(context.Context, *UpdateLastUpdatedAppRequest) (*empty.Empty, error)
func (*UnimplementedUserServiceServer) UpdateProfile ¶ added in v0.4.1
func (*UnimplementedUserServiceServer) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error)
func (*UnimplementedUserServiceServer) UserExists ¶ added in v0.4.13
func (*UnimplementedUserServiceServer) UserExists(context.Context, *UserExistsRequest) (*UserExistsResponse, error)
func (*UnimplementedUserServiceServer) VerifyEmail ¶ added in v0.12.4
func (*UnimplementedUserServiceServer) VerifyEmail(context.Context, *VerifyEmailRequest) (*empty.Empty, error)
type UpdateAvatarRequest ¶ added in v0.4.5
type UpdateAvatarRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateAvatarRequest) Descriptor
deprecated
added in
v0.4.5
func (*UpdateAvatarRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAvatarRequest.ProtoReflect.Descriptor instead.
func (*UpdateAvatarRequest) GetKey ¶ added in v0.4.5
func (x *UpdateAvatarRequest) GetKey() string
func (*UpdateAvatarRequest) GetUrl ¶ added in v0.4.5
func (x *UpdateAvatarRequest) GetUrl() string
func (*UpdateAvatarRequest) GetUserId ¶ added in v0.4.7
func (x *UpdateAvatarRequest) GetUserId() string
func (*UpdateAvatarRequest) ProtoMessage ¶ added in v0.4.5
func (*UpdateAvatarRequest) ProtoMessage()
func (*UpdateAvatarRequest) ProtoReflect ¶ added in v0.4.5
func (x *UpdateAvatarRequest) ProtoReflect() protoreflect.Message
func (*UpdateAvatarRequest) Reset ¶ added in v0.4.5
func (x *UpdateAvatarRequest) Reset()
func (*UpdateAvatarRequest) String ¶ added in v0.4.5
func (x *UpdateAvatarRequest) String() string
type UpdateEmailRequest ¶ added in v0.12.1
type UpdateEmailRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateEmailRequest) Descriptor
deprecated
added in
v0.12.1
func (*UpdateEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEmailRequest.ProtoReflect.Descriptor instead.
func (*UpdateEmailRequest) GetEmail ¶ added in v0.12.1
func (x *UpdateEmailRequest) GetEmail() string
func (*UpdateEmailRequest) GetUserId ¶ added in v0.12.3
func (x *UpdateEmailRequest) GetUserId() string
func (*UpdateEmailRequest) ProtoMessage ¶ added in v0.12.1
func (*UpdateEmailRequest) ProtoMessage()
func (*UpdateEmailRequest) ProtoReflect ¶ added in v0.12.1
func (x *UpdateEmailRequest) ProtoReflect() protoreflect.Message
func (*UpdateEmailRequest) Reset ¶ added in v0.12.1
func (x *UpdateEmailRequest) Reset()
func (*UpdateEmailRequest) String ¶ added in v0.12.1
func (x *UpdateEmailRequest) String() string
type UpdateLastUpdatedAppRequest ¶ added in v0.18.1
type UpdateLastUpdatedAppRequest struct { UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateLastUpdatedAppRequest) Descriptor
deprecated
added in
v0.18.1
func (*UpdateLastUpdatedAppRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateLastUpdatedAppRequest.ProtoReflect.Descriptor instead.
func (*UpdateLastUpdatedAppRequest) GetUserId ¶ added in v0.18.1
func (x *UpdateLastUpdatedAppRequest) GetUserId() string
func (*UpdateLastUpdatedAppRequest) ProtoMessage ¶ added in v0.18.1
func (*UpdateLastUpdatedAppRequest) ProtoMessage()
func (*UpdateLastUpdatedAppRequest) ProtoReflect ¶ added in v0.18.1
func (x *UpdateLastUpdatedAppRequest) ProtoReflect() protoreflect.Message
func (*UpdateLastUpdatedAppRequest) Reset ¶ added in v0.18.1
func (x *UpdateLastUpdatedAppRequest) Reset()
func (*UpdateLastUpdatedAppRequest) String ¶ added in v0.18.1
func (x *UpdateLastUpdatedAppRequest) String() string
type UpdateProfileRequest ¶ added in v0.4.1
type UpdateProfileRequest struct { Profile *Profile `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateProfileRequest) Descriptor
deprecated
added in
v0.4.1
func (*UpdateProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateProfileRequest) GetProfile ¶ added in v0.4.1
func (x *UpdateProfileRequest) GetProfile() *Profile
func (*UpdateProfileRequest) GetUserId ¶ added in v0.4.2
func (x *UpdateProfileRequest) GetUserId() string
func (*UpdateProfileRequest) ProtoMessage ¶ added in v0.4.1
func (*UpdateProfileRequest) ProtoMessage()
func (*UpdateProfileRequest) ProtoReflect ¶ added in v0.4.1
func (x *UpdateProfileRequest) ProtoReflect() protoreflect.Message
func (*UpdateProfileRequest) Reset ¶ added in v0.4.1
func (x *UpdateProfileRequest) Reset()
func (*UpdateProfileRequest) String ¶ added in v0.4.1
func (x *UpdateProfileRequest) String() string
type UpdateProfileResponse ¶ added in v0.4.1
type UpdateProfileResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*UpdateProfileResponse) Descriptor
deprecated
added in
v0.4.1
func (*UpdateProfileResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateProfileResponse.ProtoReflect.Descriptor instead.
func (*UpdateProfileResponse) GetSuccess ¶ added in v0.4.1
func (x *UpdateProfileResponse) GetSuccess() bool
func (*UpdateProfileResponse) ProtoMessage ¶ added in v0.4.1
func (*UpdateProfileResponse) ProtoMessage()
func (*UpdateProfileResponse) ProtoReflect ¶ added in v0.4.1
func (x *UpdateProfileResponse) ProtoReflect() protoreflect.Message
func (*UpdateProfileResponse) Reset ¶ added in v0.4.1
func (x *UpdateProfileResponse) Reset()
func (*UpdateProfileResponse) String ¶ added in v0.4.1
func (x *UpdateProfileResponse) String() string
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Profile *Profile `protobuf:"bytes,4,opt,name=profile,proto3" json:"profile,omitempty"` EmailVerified bool `protobuf:"varint,5,opt,name=email_verified,json=emailVerified,proto3" json:"email_verified,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetEmailVerified ¶ added in v0.12.1
func (*User) GetPhoneNumber ¶
func (*User) GetProfile ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserExistsRequest ¶ added in v0.4.13
type UserExistsRequest struct { AppSecret string `protobuf:"bytes,1,opt,name=app_secret,json=appSecret,proto3" json:"app_secret,omitempty"` Number string `protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*UserExistsRequest) Descriptor
deprecated
added in
v0.4.13
func (*UserExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserExistsRequest.ProtoReflect.Descriptor instead.
func (*UserExistsRequest) GetAppSecret ¶ added in v0.4.13
func (x *UserExistsRequest) GetAppSecret() string
func (*UserExistsRequest) GetNumber ¶ added in v0.4.13
func (x *UserExistsRequest) GetNumber() string
func (*UserExistsRequest) ProtoMessage ¶ added in v0.4.13
func (*UserExistsRequest) ProtoMessage()
func (*UserExistsRequest) ProtoReflect ¶ added in v0.4.13
func (x *UserExistsRequest) ProtoReflect() protoreflect.Message
func (*UserExistsRequest) Reset ¶ added in v0.4.13
func (x *UserExistsRequest) Reset()
func (*UserExistsRequest) String ¶ added in v0.4.13
func (x *UserExistsRequest) String() string
type UserExistsResponse ¶ added in v0.4.13
type UserExistsResponse struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*UserExistsResponse) Descriptor
deprecated
added in
v0.4.13
func (*UserExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserExistsResponse.ProtoReflect.Descriptor instead.
func (*UserExistsResponse) GetExists ¶ added in v0.4.13
func (x *UserExistsResponse) GetExists() bool
func (*UserExistsResponse) ProtoMessage ¶ added in v0.4.13
func (*UserExistsResponse) ProtoMessage()
func (*UserExistsResponse) ProtoReflect ¶ added in v0.4.13
func (x *UserExistsResponse) ProtoReflect() protoreflect.Message
func (*UserExistsResponse) Reset ¶ added in v0.4.13
func (x *UserExistsResponse) Reset()
func (*UserExistsResponse) String ¶ added in v0.4.13
func (x *UserExistsResponse) String() string
type UserServiceClient ¶
type UserServiceClient interface { GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) GetUserFromInternalService(ctx context.Context, in *GetUserFromInternalServiceRequest, opts ...grpc.CallOption) (*GetUserResponse, error) GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) GetUserProfileStrength(ctx context.Context, in *GetUserProfileStrengthRequest, opts ...grpc.CallOption) (*GetUserProfileStrengthResponse, error) UpdateProfile(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*UpdateProfileResponse, error) UpdateAvatar(ctx context.Context, in *UpdateAvatarRequest, opts ...grpc.CallOption) (*empty.Empty, error) UpdateEmail(ctx context.Context, in *UpdateEmailRequest, opts ...grpc.CallOption) (*empty.Empty, error) UpdateLastUpdatedApp(ctx context.Context, in *UpdateLastUpdatedAppRequest, opts ...grpc.CallOption) (*empty.Empty, error) VerifyEmail(ctx context.Context, in *VerifyEmailRequest, opts ...grpc.CallOption) (*empty.Empty, error) UserExists(ctx context.Context, in *UserExistsRequest, opts ...grpc.CallOption) (*UserExistsResponse, 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.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) GetUserFromInternalService(context.Context, *GetUserFromInternalServiceRequest) (*GetUserResponse, error) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error) GetUserProfileStrength(context.Context, *GetUserProfileStrengthRequest) (*GetUserProfileStrengthResponse, error) UpdateProfile(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error) UpdateAvatar(context.Context, *UpdateAvatarRequest) (*empty.Empty, error) UpdateEmail(context.Context, *UpdateEmailRequest) (*empty.Empty, error) UpdateLastUpdatedApp(context.Context, *UpdateLastUpdatedAppRequest) (*empty.Empty, error) VerifyEmail(context.Context, *VerifyEmailRequest) (*empty.Empty, error) UserExists(context.Context, *UserExistsRequest) (*UserExistsResponse, error) }
UserServiceServer is the server API for UserService service.
type VerifyEmailRequest ¶ added in v0.12.4
type VerifyEmailRequest struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*VerifyEmailRequest) Descriptor
deprecated
added in
v0.12.4
func (*VerifyEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyEmailRequest.ProtoReflect.Descriptor instead.
func (*VerifyEmailRequest) GetCode ¶ added in v0.12.4
func (x *VerifyEmailRequest) GetCode() string
func (*VerifyEmailRequest) GetEmail ¶ added in v0.12.4
func (x *VerifyEmailRequest) GetEmail() string
func (*VerifyEmailRequest) GetUserId ¶ added in v0.12.4
func (x *VerifyEmailRequest) GetUserId() string
func (*VerifyEmailRequest) ProtoMessage ¶ added in v0.12.4
func (*VerifyEmailRequest) ProtoMessage()
func (*VerifyEmailRequest) ProtoReflect ¶ added in v0.12.4
func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message
func (*VerifyEmailRequest) Reset ¶ added in v0.12.4
func (x *VerifyEmailRequest) Reset()
func (*VerifyEmailRequest) String ¶ added in v0.12.4
func (x *VerifyEmailRequest) String() string