Documentation ¶
Overview ¶
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func Migrate(js nats.JetStreamManager) error
- func RegisterUserExternalAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserExternalAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserExternalAPIClient) error
- func RegisterUserExternalAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserExternalAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserExternalAPIServer) error
- func RegisterUserExternalAPIServer(s grpc.ServiceRegistrar, srv UserExternalAPIServer)
- type Add
- func (*Add) Descriptor() ([]byte, []int)deprecated
- func (x *Add) GetUser() *User
- func (msg *Add) MarshalJSON() ([]byte, error)
- func (*Add) ProtoMessage()
- func (x *Add) ProtoReflect() protoreflect.Message
- func (x *Add) Reset()
- func (x *Add) String() string
- func (msg *Add) UnmarshalJSON(b []byte) error
- func (m *Add) Validate() error
- func (m *Add) ValidateAll() error
- type AddMultiError
- type AddValidationError
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetEmail() string
- func (x *CreateUserRequest) GetFullName() string
- func (x *CreateUserRequest) GetPassword() string
- func (x *CreateUserRequest) GetUsername() string
- func (msg *CreateUserRequest) MarshalJSON() ([]byte, error)
- func (x *CreateUserRequest) Matches(y interface{}) bool
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- func (msg *CreateUserRequest) UnmarshalJSON(b []byte) error
- func (m *CreateUserRequest) Validate() error
- func (m *CreateUserRequest) ValidateAll() error
- type CreateUserRequestMultiError
- type CreateUserRequestValidationError
- func (e CreateUserRequestValidationError) Cause() error
- func (e CreateUserRequestValidationError) Error() string
- func (e CreateUserRequestValidationError) ErrorName() string
- func (e CreateUserRequestValidationError) Field() string
- func (e CreateUserRequestValidationError) Key() bool
- func (e CreateUserRequestValidationError) Reason() string
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserResponse) GetId() string
- func (msg *CreateUserResponse) MarshalJSON() ([]byte, error)
- func (*CreateUserResponse) ProtoMessage()
- func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserResponse) Reset()
- func (x *CreateUserResponse) String() string
- func (msg *CreateUserResponse) UnmarshalJSON(b []byte) error
- func (m *CreateUserResponse) Validate() error
- func (m *CreateUserResponse) ValidateAll() error
- type CreateUserResponseMultiError
- type CreateUserResponseValidationError
- func (e CreateUserResponseValidationError) Cause() error
- func (e CreateUserResponseValidationError) Error() string
- func (e CreateUserResponseValidationError) ErrorName() string
- func (e CreateUserResponseValidationError) Field() string
- func (e CreateUserResponseValidationError) Key() bool
- func (e CreateUserResponseValidationError) Reason() string
- type Delete
- func (*Delete) Descriptor() ([]byte, []int)deprecated
- func (x *Delete) GetUserId() string
- func (msg *Delete) MarshalJSON() ([]byte, error)
- func (*Delete) ProtoMessage()
- func (x *Delete) ProtoReflect() protoreflect.Message
- func (x *Delete) Reset()
- func (x *Delete) String() string
- func (msg *Delete) UnmarshalJSON(b []byte) error
- func (m *Delete) Validate() error
- func (m *Delete) ValidateAll() error
- type DeleteMultiError
- type DeleteValidationError
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAdd() *Add
- func (m *Event) GetBody() isEvent_Body
- func (x *Event) GetDelete() *Delete
- func (x *Event) GetUpdate() *Update
- func (msg *Event) MarshalJSON() ([]byte, error)
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- func (msg *Event) UnmarshalJSON(b []byte) error
- func (m *Event) Validate() error
- func (m *Event) ValidateAll() error
- type EventMultiError
- type EventValidationError
- type Event_Add
- type Event_Delete
- type Event_Update
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetId() string
- func (msg *GetUserRequest) MarshalJSON() ([]byte, error)
- func (x *GetUserRequest) Matches(y interface{}) bool
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- func (msg *GetUserRequest) UnmarshalJSON(b []byte) error
- func (m *GetUserRequest) Validate() error
- func (m *GetUserRequest) ValidateAll() error
- type GetUserRequestMultiError
- type GetUserRequestValidationError
- func (e GetUserRequestValidationError) Cause() error
- func (e GetUserRequestValidationError) Error() string
- func (e GetUserRequestValidationError) ErrorName() string
- func (e GetUserRequestValidationError) Field() string
- func (e GetUserRequestValidationError) Key() bool
- func (e GetUserRequestValidationError) Reason() string
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse) GetUser() *User
- func (msg *GetUserResponse) MarshalJSON() ([]byte, error)
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- func (msg *GetUserResponse) UnmarshalJSON(b []byte) error
- func (m *GetUserResponse) Validate() error
- func (m *GetUserResponse) ValidateAll() error
- type GetUserResponseMultiError
- type GetUserResponseValidationError
- func (e GetUserResponseValidationError) Cause() error
- func (e GetUserResponseValidationError) Error() string
- func (e GetUserResponseValidationError) ErrorName() string
- func (e GetUserResponseValidationError) Field() string
- func (e GetUserResponseValidationError) Key() bool
- func (e GetUserResponseValidationError) Reason() string
- type GetUsersByIDsRequest
- func (*GetUsersByIDsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersByIDsRequest) GetIds() []string
- func (msg *GetUsersByIDsRequest) MarshalJSON() ([]byte, error)
- func (x *GetUsersByIDsRequest) Matches(y interface{}) bool
- func (*GetUsersByIDsRequest) ProtoMessage()
- func (x *GetUsersByIDsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsersByIDsRequest) Reset()
- func (x *GetUsersByIDsRequest) String() string
- func (msg *GetUsersByIDsRequest) UnmarshalJSON(b []byte) error
- func (m *GetUsersByIDsRequest) Validate() error
- func (m *GetUsersByIDsRequest) ValidateAll() error
- type GetUsersByIDsRequestMultiError
- type GetUsersByIDsRequestValidationError
- func (e GetUsersByIDsRequestValidationError) Cause() error
- func (e GetUsersByIDsRequestValidationError) Error() string
- func (e GetUsersByIDsRequestValidationError) ErrorName() string
- func (e GetUsersByIDsRequestValidationError) Field() string
- func (e GetUsersByIDsRequestValidationError) Key() bool
- func (e GetUsersByIDsRequestValidationError) Reason() string
- type GetUsersByIDsResponse
- func (*GetUsersByIDsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersByIDsResponse) GetResult() []*User
- func (msg *GetUsersByIDsResponse) MarshalJSON() ([]byte, error)
- func (*GetUsersByIDsResponse) ProtoMessage()
- func (x *GetUsersByIDsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUsersByIDsResponse) Reset()
- func (x *GetUsersByIDsResponse) String() string
- func (msg *GetUsersByIDsResponse) UnmarshalJSON(b []byte) error
- func (m *GetUsersByIDsResponse) Validate() error
- func (m *GetUsersByIDsResponse) ValidateAll() error
- type GetUsersByIDsResponseMultiError
- type GetUsersByIDsResponseValidationError
- func (e GetUsersByIDsResponseValidationError) Cause() error
- func (e GetUsersByIDsResponseValidationError) Error() string
- func (e GetUsersByIDsResponseValidationError) ErrorName() string
- func (e GetUsersByIDsResponseValidationError) Field() string
- func (e GetUsersByIDsResponseValidationError) Key() bool
- func (e GetUsersByIDsResponseValidationError) Reason() string
- type ListUserAvatarRequest
- func (*ListUserAvatarRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserAvatarRequest) GetUserId() string
- func (msg *ListUserAvatarRequest) MarshalJSON() ([]byte, error)
- func (x *ListUserAvatarRequest) Matches(y interface{}) bool
- func (*ListUserAvatarRequest) ProtoMessage()
- func (x *ListUserAvatarRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserAvatarRequest) Reset()
- func (x *ListUserAvatarRequest) String() string
- func (msg *ListUserAvatarRequest) UnmarshalJSON(b []byte) error
- func (m *ListUserAvatarRequest) Validate() error
- func (m *ListUserAvatarRequest) ValidateAll() error
- type ListUserAvatarRequestMultiError
- type ListUserAvatarRequestValidationError
- func (e ListUserAvatarRequestValidationError) Cause() error
- func (e ListUserAvatarRequestValidationError) Error() string
- func (e ListUserAvatarRequestValidationError) ErrorName() string
- func (e ListUserAvatarRequestValidationError) Field() string
- func (e ListUserAvatarRequestValidationError) Key() bool
- func (e ListUserAvatarRequestValidationError) Reason() string
- type ListUserAvatarResponse
- func (*ListUserAvatarResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserAvatarResponse) GetAvatars() []*UserAvatar
- func (msg *ListUserAvatarResponse) MarshalJSON() ([]byte, error)
- func (*ListUserAvatarResponse) ProtoMessage()
- func (x *ListUserAvatarResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserAvatarResponse) Reset()
- func (x *ListUserAvatarResponse) String() string
- func (msg *ListUserAvatarResponse) UnmarshalJSON(b []byte) error
- func (m *ListUserAvatarResponse) Validate() error
- func (m *ListUserAvatarResponse) ValidateAll() error
- type ListUserAvatarResponseMultiError
- type ListUserAvatarResponseValidationError
- func (e ListUserAvatarResponseValidationError) Cause() error
- func (e ListUserAvatarResponseValidationError) Error() string
- func (e ListUserAvatarResponseValidationError) ErrorName() string
- func (e ListUserAvatarResponseValidationError) Field() string
- func (e ListUserAvatarResponseValidationError) Key() bool
- func (e ListUserAvatarResponseValidationError) Reason() string
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetEmail() string
- func (x *LoginRequest) GetPassword() string
- func (msg *LoginRequest) MarshalJSON() ([]byte, error)
- func (x *LoginRequest) Matches(y interface{}) bool
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- func (msg *LoginRequest) UnmarshalJSON(b []byte) error
- func (m *LoginRequest) Validate() error
- func (m *LoginRequest) ValidateAll() error
- type LoginRequestMultiError
- type LoginRequestValidationError
- func (e LoginRequestValidationError) Cause() error
- func (e LoginRequestValidationError) Error() string
- func (e LoginRequestValidationError) ErrorName() string
- func (e LoginRequestValidationError) Field() string
- func (e LoginRequestValidationError) Key() bool
- func (e LoginRequestValidationError) Reason() string
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetUserId() string
- func (msg *LoginResponse) MarshalJSON() ([]byte, error)
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- func (msg *LoginResponse) UnmarshalJSON(b []byte) error
- func (m *LoginResponse) Validate() error
- func (m *LoginResponse) ValidateAll() error
- type LoginResponseMultiError
- type LoginResponseValidationError
- func (e LoginResponseValidationError) Cause() error
- func (e LoginResponseValidationError) Error() string
- func (e LoginResponseValidationError) ErrorName() string
- func (e LoginResponseValidationError) Field() string
- func (e LoginResponseValidationError) Key() bool
- func (e LoginResponseValidationError) Reason() string
- type LogoutRequest
- func (*LogoutRequest) Descriptor() ([]byte, []int)deprecated
- func (msg *LogoutRequest) MarshalJSON() ([]byte, error)
- func (x *LogoutRequest) Matches(y interface{}) bool
- func (*LogoutRequest) ProtoMessage()
- func (x *LogoutRequest) ProtoReflect() protoreflect.Message
- func (x *LogoutRequest) Reset()
- func (x *LogoutRequest) String() string
- func (msg *LogoutRequest) UnmarshalJSON(b []byte) error
- func (m *LogoutRequest) Validate() error
- func (m *LogoutRequest) ValidateAll() error
- type LogoutRequestMultiError
- type LogoutRequestValidationError
- func (e LogoutRequestValidationError) Cause() error
- func (e LogoutRequestValidationError) Error() string
- func (e LogoutRequestValidationError) ErrorName() string
- func (e LogoutRequestValidationError) Field() string
- func (e LogoutRequestValidationError) Key() bool
- func (e LogoutRequestValidationError) Reason() string
- type LogoutResponse
- func (*LogoutResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *LogoutResponse) MarshalJSON() ([]byte, error)
- func (*LogoutResponse) ProtoMessage()
- func (x *LogoutResponse) ProtoReflect() protoreflect.Message
- func (x *LogoutResponse) Reset()
- func (x *LogoutResponse) String() string
- func (msg *LogoutResponse) UnmarshalJSON(b []byte) error
- func (m *LogoutResponse) Validate() error
- func (m *LogoutResponse) ValidateAll() error
- type LogoutResponseMultiError
- type LogoutResponseValidationError
- func (e LogoutResponseValidationError) Cause() error
- func (e LogoutResponseValidationError) Error() string
- func (e LogoutResponseValidationError) ErrorName() string
- func (e LogoutResponseValidationError) Field() string
- func (e LogoutResponseValidationError) Key() bool
- func (e LogoutResponseValidationError) Reason() string
- type RemoveAvatarRequest
- func (*RemoveAvatarRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveAvatarRequest) GetFileId() string
- func (msg *RemoveAvatarRequest) MarshalJSON() ([]byte, error)
- func (x *RemoveAvatarRequest) Matches(y interface{}) bool
- func (*RemoveAvatarRequest) ProtoMessage()
- func (x *RemoveAvatarRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveAvatarRequest) Reset()
- func (x *RemoveAvatarRequest) String() string
- func (msg *RemoveAvatarRequest) UnmarshalJSON(b []byte) error
- func (m *RemoveAvatarRequest) Validate() error
- func (m *RemoveAvatarRequest) ValidateAll() error
- type RemoveAvatarRequestMultiError
- type RemoveAvatarRequestValidationError
- func (e RemoveAvatarRequestValidationError) Cause() error
- func (e RemoveAvatarRequestValidationError) Error() string
- func (e RemoveAvatarRequestValidationError) ErrorName() string
- func (e RemoveAvatarRequestValidationError) Field() string
- func (e RemoveAvatarRequestValidationError) Key() bool
- func (e RemoveAvatarRequestValidationError) Reason() string
- type RemoveAvatarResponse
- func (*RemoveAvatarResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *RemoveAvatarResponse) MarshalJSON() ([]byte, error)
- func (*RemoveAvatarResponse) ProtoMessage()
- func (x *RemoveAvatarResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveAvatarResponse) Reset()
- func (x *RemoveAvatarResponse) String() string
- func (msg *RemoveAvatarResponse) UnmarshalJSON(b []byte) error
- func (m *RemoveAvatarResponse) Validate() error
- func (m *RemoveAvatarResponse) ValidateAll() error
- type RemoveAvatarResponseMultiError
- type RemoveAvatarResponseValidationError
- func (e RemoveAvatarResponseValidationError) Cause() error
- func (e RemoveAvatarResponseValidationError) Error() string
- func (e RemoveAvatarResponseValidationError) ErrorName() string
- func (e RemoveAvatarResponseValidationError) Field() string
- func (e RemoveAvatarResponseValidationError) Key() bool
- func (e RemoveAvatarResponseValidationError) Reason() string
- type SearchUsersRequest
- func (*SearchUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUsersRequest) GetLimit() int32
- func (x *SearchUsersRequest) GetName() string
- func (x *SearchUsersRequest) GetOffset() int32
- func (msg *SearchUsersRequest) MarshalJSON() ([]byte, error)
- func (x *SearchUsersRequest) Matches(y interface{}) bool
- func (*SearchUsersRequest) ProtoMessage()
- func (x *SearchUsersRequest) ProtoReflect() protoreflect.Message
- func (x *SearchUsersRequest) Reset()
- func (x *SearchUsersRequest) String() string
- func (msg *SearchUsersRequest) UnmarshalJSON(b []byte) error
- func (m *SearchUsersRequest) Validate() error
- func (m *SearchUsersRequest) ValidateAll() error
- type SearchUsersRequestMultiError
- type SearchUsersRequestValidationError
- func (e SearchUsersRequestValidationError) Cause() error
- func (e SearchUsersRequestValidationError) Error() string
- func (e SearchUsersRequestValidationError) ErrorName() string
- func (e SearchUsersRequestValidationError) Field() string
- func (e SearchUsersRequestValidationError) Key() bool
- func (e SearchUsersRequestValidationError) Reason() string
- type SearchUsersResponse
- func (*SearchUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchUsersResponse) GetTotal() int32
- func (x *SearchUsersResponse) GetUsers() []*User
- func (msg *SearchUsersResponse) MarshalJSON() ([]byte, error)
- func (*SearchUsersResponse) ProtoMessage()
- func (x *SearchUsersResponse) ProtoReflect() protoreflect.Message
- func (x *SearchUsersResponse) Reset()
- func (x *SearchUsersResponse) String() string
- func (msg *SearchUsersResponse) UnmarshalJSON(b []byte) error
- func (m *SearchUsersResponse) Validate() error
- func (m *SearchUsersResponse) ValidateAll() error
- type SearchUsersResponseMultiError
- type SearchUsersResponseValidationError
- func (e SearchUsersResponseValidationError) Cause() error
- func (e SearchUsersResponseValidationError) Error() string
- func (e SearchUsersResponseValidationError) ErrorName() string
- func (e SearchUsersResponseValidationError) Field() string
- func (e SearchUsersResponseValidationError) Key() bool
- func (e SearchUsersResponseValidationError) Reason() string
- type UnimplementedUserExternalAPIServer
- func (UnimplementedUserExternalAPIServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedUserExternalAPIServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedUserExternalAPIServer) GetUsersByIDs(context.Context, *GetUsersByIDsRequest) (*GetUsersByIDsResponse, error)
- func (UnimplementedUserExternalAPIServer) ListUserAvatar(context.Context, *ListUserAvatarRequest) (*ListUserAvatarResponse, error)
- func (UnimplementedUserExternalAPIServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedUserExternalAPIServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
- func (UnimplementedUserExternalAPIServer) RemoveAvatar(context.Context, *RemoveAvatarRequest) (*RemoveAvatarResponse, error)
- func (UnimplementedUserExternalAPIServer) SearchUsers(context.Context, *SearchUsersRequest) (*SearchUsersResponse, error)
- func (UnimplementedUserExternalAPIServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
- func (UnimplementedUserExternalAPIServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- func (UnimplementedUserExternalAPIServer) VerificationEmail(context.Context, *VerificationEmailRequest) (*VerificationEmailResponse, error)
- func (UnimplementedUserExternalAPIServer) VerificationUsername(context.Context, *VerificationUsernameRequest) (*VerificationUsernameResponse, error)
- type UnsafeUserExternalAPIServer
- type Update
- func (*Update) Descriptor() ([]byte, []int)deprecated
- func (x *Update) GetUser() *User
- func (msg *Update) MarshalJSON() ([]byte, error)
- func (*Update) ProtoMessage()
- func (x *Update) ProtoReflect() protoreflect.Message
- func (x *Update) Reset()
- func (x *Update) String() string
- func (msg *Update) UnmarshalJSON(b []byte) error
- func (m *Update) Validate() error
- func (m *Update) ValidateAll() error
- type UpdateMultiError
- type UpdatePasswordRequest
- func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePasswordRequest) GetNew() string
- func (x *UpdatePasswordRequest) GetOld() string
- func (msg *UpdatePasswordRequest) MarshalJSON() ([]byte, error)
- func (x *UpdatePasswordRequest) Matches(y interface{}) bool
- func (*UpdatePasswordRequest) ProtoMessage()
- func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordRequest) Reset()
- func (x *UpdatePasswordRequest) String() string
- func (msg *UpdatePasswordRequest) UnmarshalJSON(b []byte) error
- func (m *UpdatePasswordRequest) Validate() error
- func (m *UpdatePasswordRequest) ValidateAll() error
- type UpdatePasswordRequestMultiError
- type UpdatePasswordRequestValidationError
- func (e UpdatePasswordRequestValidationError) Cause() error
- func (e UpdatePasswordRequestValidationError) Error() string
- func (e UpdatePasswordRequestValidationError) ErrorName() string
- func (e UpdatePasswordRequestValidationError) Field() string
- func (e UpdatePasswordRequestValidationError) Key() bool
- func (e UpdatePasswordRequestValidationError) Reason() string
- type UpdatePasswordResponse
- func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *UpdatePasswordResponse) MarshalJSON() ([]byte, error)
- func (*UpdatePasswordResponse) ProtoMessage()
- func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePasswordResponse) Reset()
- func (x *UpdatePasswordResponse) String() string
- func (msg *UpdatePasswordResponse) UnmarshalJSON(b []byte) error
- func (m *UpdatePasswordResponse) Validate() error
- func (m *UpdatePasswordResponse) ValidateAll() error
- type UpdatePasswordResponseMultiError
- type UpdatePasswordResponseValidationError
- func (e UpdatePasswordResponseValidationError) Cause() error
- func (e UpdatePasswordResponseValidationError) Error() string
- func (e UpdatePasswordResponseValidationError) ErrorName() string
- func (e UpdatePasswordResponseValidationError) Field() string
- func (e UpdatePasswordResponseValidationError) Key() bool
- func (e UpdatePasswordResponseValidationError) Reason() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetAvatarId() string
- func (x *UpdateUserRequest) GetFullName() string
- func (x *UpdateUserRequest) GetUsername() string
- func (msg *UpdateUserRequest) MarshalJSON() ([]byte, error)
- func (x *UpdateUserRequest) Matches(y interface{}) bool
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- func (msg *UpdateUserRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateUserRequest) Validate() error
- func (m *UpdateUserRequest) ValidateAll() error
- type UpdateUserRequestMultiError
- type UpdateUserRequestValidationError
- func (e UpdateUserRequestValidationError) Cause() error
- func (e UpdateUserRequestValidationError) Error() string
- func (e UpdateUserRequestValidationError) ErrorName() string
- func (e UpdateUserRequestValidationError) Field() string
- func (e UpdateUserRequestValidationError) Key() bool
- func (e UpdateUserRequestValidationError) Reason() string
- type UpdateUserResponse
- func (*UpdateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *UpdateUserResponse) MarshalJSON() ([]byte, error)
- func (*UpdateUserResponse) ProtoMessage()
- func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserResponse) Reset()
- func (x *UpdateUserResponse) String() string
- func (msg *UpdateUserResponse) UnmarshalJSON(b []byte) error
- func (m *UpdateUserResponse) Validate() error
- func (m *UpdateUserResponse) ValidateAll() error
- type UpdateUserResponseMultiError
- type UpdateUserResponseValidationError
- func (e UpdateUserResponseValidationError) Cause() error
- func (e UpdateUserResponseValidationError) Error() string
- func (e UpdateUserResponseValidationError) ErrorName() string
- func (e UpdateUserResponseValidationError) Field() string
- func (e UpdateUserResponseValidationError) Key() bool
- func (e UpdateUserResponseValidationError) Reason() string
- type UpdateValidationError
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAvatarId() string
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetEmail() string
- func (x *User) GetFullName() string
- func (x *User) GetId() string
- func (x *User) GetKind() v1.StatusKind
- func (x *User) GetUpdatedAt() *timestamppb.Timestamp
- func (x *User) GetUsername() string
- func (msg *User) MarshalJSON() ([]byte, error)
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (msg *User) UnmarshalJSON(b []byte) error
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserAvatar
- func (*UserAvatar) Descriptor() ([]byte, []int)deprecated
- func (x *UserAvatar) GetFileId() string
- func (x *UserAvatar) GetUserId() string
- func (msg *UserAvatar) MarshalJSON() ([]byte, error)
- func (*UserAvatar) ProtoMessage()
- func (x *UserAvatar) ProtoReflect() protoreflect.Message
- func (x *UserAvatar) Reset()
- func (x *UserAvatar) String() string
- func (msg *UserAvatar) UnmarshalJSON(b []byte) error
- func (m *UserAvatar) Validate() error
- func (m *UserAvatar) ValidateAll() error
- type UserAvatarMultiError
- type UserAvatarValidationError
- type UserExternalAPIClient
- type UserExternalAPIServer
- type UserMultiError
- type UserValidationError
- type VerificationEmailRequest
- func (*VerificationEmailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationEmailRequest) GetEmail() string
- func (msg *VerificationEmailRequest) MarshalJSON() ([]byte, error)
- func (x *VerificationEmailRequest) Matches(y interface{}) bool
- func (*VerificationEmailRequest) ProtoMessage()
- func (x *VerificationEmailRequest) ProtoReflect() protoreflect.Message
- func (x *VerificationEmailRequest) Reset()
- func (x *VerificationEmailRequest) String() string
- func (msg *VerificationEmailRequest) UnmarshalJSON(b []byte) error
- func (m *VerificationEmailRequest) Validate() error
- func (m *VerificationEmailRequest) ValidateAll() error
- type VerificationEmailRequestMultiError
- type VerificationEmailRequestValidationError
- func (e VerificationEmailRequestValidationError) Cause() error
- func (e VerificationEmailRequestValidationError) Error() string
- func (e VerificationEmailRequestValidationError) ErrorName() string
- func (e VerificationEmailRequestValidationError) Field() string
- func (e VerificationEmailRequestValidationError) Key() bool
- func (e VerificationEmailRequestValidationError) Reason() string
- type VerificationEmailResponse
- func (*VerificationEmailResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *VerificationEmailResponse) MarshalJSON() ([]byte, error)
- func (*VerificationEmailResponse) ProtoMessage()
- func (x *VerificationEmailResponse) ProtoReflect() protoreflect.Message
- func (x *VerificationEmailResponse) Reset()
- func (x *VerificationEmailResponse) String() string
- func (msg *VerificationEmailResponse) UnmarshalJSON(b []byte) error
- func (m *VerificationEmailResponse) Validate() error
- func (m *VerificationEmailResponse) ValidateAll() error
- type VerificationEmailResponseMultiError
- type VerificationEmailResponseValidationError
- func (e VerificationEmailResponseValidationError) Cause() error
- func (e VerificationEmailResponseValidationError) Error() string
- func (e VerificationEmailResponseValidationError) ErrorName() string
- func (e VerificationEmailResponseValidationError) Field() string
- func (e VerificationEmailResponseValidationError) Key() bool
- func (e VerificationEmailResponseValidationError) Reason() string
- type VerificationUsernameRequest
- func (*VerificationUsernameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationUsernameRequest) GetUsername() string
- func (msg *VerificationUsernameRequest) MarshalJSON() ([]byte, error)
- func (x *VerificationUsernameRequest) Matches(y interface{}) bool
- func (*VerificationUsernameRequest) ProtoMessage()
- func (x *VerificationUsernameRequest) ProtoReflect() protoreflect.Message
- func (x *VerificationUsernameRequest) Reset()
- func (x *VerificationUsernameRequest) String() string
- func (msg *VerificationUsernameRequest) UnmarshalJSON(b []byte) error
- func (m *VerificationUsernameRequest) Validate() error
- func (m *VerificationUsernameRequest) ValidateAll() error
- type VerificationUsernameRequestMultiError
- type VerificationUsernameRequestValidationError
- func (e VerificationUsernameRequestValidationError) Cause() error
- func (e VerificationUsernameRequestValidationError) Error() string
- func (e VerificationUsernameRequestValidationError) ErrorName() string
- func (e VerificationUsernameRequestValidationError) Field() string
- func (e VerificationUsernameRequestValidationError) Key() bool
- func (e VerificationUsernameRequestValidationError) Reason() string
- type VerificationUsernameResponse
- func (*VerificationUsernameResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *VerificationUsernameResponse) MarshalJSON() ([]byte, error)
- func (*VerificationUsernameResponse) ProtoMessage()
- func (x *VerificationUsernameResponse) ProtoReflect() protoreflect.Message
- func (x *VerificationUsernameResponse) Reset()
- func (x *VerificationUsernameResponse) String() string
- func (msg *VerificationUsernameResponse) UnmarshalJSON(b []byte) error
- func (m *VerificationUsernameResponse) Validate() error
- func (m *VerificationUsernameResponse) ValidateAll() error
- type VerificationUsernameResponseMultiError
- type VerificationUsernameResponseValidationError
- func (e VerificationUsernameResponseValidationError) Cause() error
- func (e VerificationUsernameResponseValidationError) Error() string
- func (e VerificationUsernameResponseValidationError) ErrorName() string
- func (e VerificationUsernameResponseValidationError) Field() string
- func (e VerificationUsernameResponseValidationError) Key() bool
- func (e VerificationUsernameResponseValidationError) Reason() string
Constants ¶
const ( Stream = "user" TopicAdd = version + "add" TopicDel = version + "del" TopicUpdate = version + "update" SubscribeToAllEvents = version + "*" )
Topics.
const ( UserExternalAPI_VerificationEmail_FullMethodName = "/api.user.v1.UserExternalAPI/VerificationEmail" UserExternalAPI_VerificationUsername_FullMethodName = "/api.user.v1.UserExternalAPI/VerificationUsername" UserExternalAPI_CreateUser_FullMethodName = "/api.user.v1.UserExternalAPI/CreateUser" UserExternalAPI_Login_FullMethodName = "/api.user.v1.UserExternalAPI/Login" UserExternalAPI_Logout_FullMethodName = "/api.user.v1.UserExternalAPI/Logout" UserExternalAPI_GetUser_FullMethodName = "/api.user.v1.UserExternalAPI/GetUser" UserExternalAPI_SearchUsers_FullMethodName = "/api.user.v1.UserExternalAPI/SearchUsers" UserExternalAPI_UpdatePassword_FullMethodName = "/api.user.v1.UserExternalAPI/UpdatePassword" UserExternalAPI_UpdateUser_FullMethodName = "/api.user.v1.UserExternalAPI/UpdateUser" UserExternalAPI_RemoveAvatar_FullMethodName = "/api.user.v1.UserExternalAPI/RemoveAvatar" UserExternalAPI_ListUserAvatar_FullMethodName = "/api.user.v1.UserExternalAPI/ListUserAvatar" UserExternalAPI_GetUsersByIDs_FullMethodName = "/api.user.v1.UserExternalAPI/GetUsersByIDs" )
Variables ¶
var File_api_user_v1_user_events_proto protoreflect.FileDescriptor
var File_api_user_v1_user_proto protoreflect.FileDescriptor
var OpenAPI embed.FS
var UserExternalAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.user.v1.UserExternalAPI", HandlerType: (*UserExternalAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "VerificationEmail", Handler: _UserExternalAPI_VerificationEmail_Handler, }, { MethodName: "VerificationUsername", Handler: _UserExternalAPI_VerificationUsername_Handler, }, { MethodName: "CreateUser", Handler: _UserExternalAPI_CreateUser_Handler, }, { MethodName: "Login", Handler: _UserExternalAPI_Login_Handler, }, { MethodName: "Logout", Handler: _UserExternalAPI_Logout_Handler, }, { MethodName: "GetUser", Handler: _UserExternalAPI_GetUser_Handler, }, { MethodName: "SearchUsers", Handler: _UserExternalAPI_SearchUsers_Handler, }, { MethodName: "UpdatePassword", Handler: _UserExternalAPI_UpdatePassword_Handler, }, { MethodName: "UpdateUser", Handler: _UserExternalAPI_UpdateUser_Handler, }, { MethodName: "RemoveAvatar", Handler: _UserExternalAPI_RemoveAvatar_Handler, }, { MethodName: "ListUserAvatar", Handler: _UserExternalAPI_ListUserAvatar_Handler, }, { MethodName: "GetUsersByIDs", Handler: _UserExternalAPI_GetUsersByIDs_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/user/v1/user.proto", }
UserExternalAPI_ServiceDesc is the grpc.ServiceDesc for UserExternalAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUserExternalAPIHandler ¶
func RegisterUserExternalAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUserExternalAPIHandler registers the http handlers for service UserExternalAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUserExternalAPIHandlerClient ¶
func RegisterUserExternalAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserExternalAPIClient) error
RegisterUserExternalAPIHandlerClient registers the http handlers for service UserExternalAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserExternalAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserExternalAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserExternalAPIClient" to call the correct interceptors.
func RegisterUserExternalAPIHandlerFromEndpoint ¶
func RegisterUserExternalAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUserExternalAPIHandlerFromEndpoint is same as RegisterUserExternalAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUserExternalAPIHandlerServer ¶
func RegisterUserExternalAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserExternalAPIServer) error
RegisterUserExternalAPIHandlerServer registers the http handlers for service UserExternalAPI to "mux". UnaryRPC :call UserExternalAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserExternalAPIHandlerFromEndpoint instead.
func RegisterUserExternalAPIServer ¶
func RegisterUserExternalAPIServer(s grpc.ServiceRegistrar, srv UserExternalAPIServer)
Types ¶
type Add ¶
type Add struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*Add) Descriptor
deprecated
func (*Add) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Add) ProtoMessage ¶
func (*Add) ProtoMessage()
func (*Add) ProtoReflect ¶
func (x *Add) ProtoReflect() protoreflect.Message
func (*Add) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Add) Validate ¶
Validate checks the field values on Add with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Add) ValidateAll ¶
ValidateAll checks the field values on Add with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddMultiError, or nil if none found.
type AddMultiError ¶
type AddMultiError []error
AddMultiError is an error wrapping multiple validation errors returned by Add.ValidateAll() if the designated constraints aren't met.
func (AddMultiError) AllErrors ¶
func (m AddMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddMultiError) Error ¶
func (m AddMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddValidationError ¶
type AddValidationError struct {
// contains filtered or unexported fields
}
AddValidationError is the validation error returned by Add.Validate if the designated constraints aren't met.
func (AddValidationError) Cause ¶
func (e AddValidationError) Cause() error
Cause function returns cause value.
func (AddValidationError) Error ¶
func (e AddValidationError) Error() string
Error satisfies the builtin error interface
func (AddValidationError) ErrorName ¶
func (e AddValidationError) ErrorName() string
ErrorName returns error name.
func (AddValidationError) Field ¶
func (e AddValidationError) Field() string
Field function returns field value.
func (AddValidationError) Key ¶
func (e AddValidationError) Key() bool
Key function returns key value.
func (AddValidationError) Reason ¶
func (e AddValidationError) Reason() string
Reason function returns reason value.
type CreateUserRequest ¶
type CreateUserRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` FullName string `protobuf:"bytes,4,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetEmail ¶
func (x *CreateUserRequest) GetEmail() string
func (*CreateUserRequest) GetFullName ¶
func (x *CreateUserRequest) GetFullName() string
func (*CreateUserRequest) GetPassword ¶
func (x *CreateUserRequest) GetPassword() string
func (*CreateUserRequest) GetUsername ¶
func (x *CreateUserRequest) GetUsername() string
func (*CreateUserRequest) MarshalJSON ¶
func (msg *CreateUserRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CreateUserRequest) Matches ¶
func (x *CreateUserRequest) Matches(y interface{}) bool
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
func (*CreateUserRequest) UnmarshalJSON ¶
func (msg *CreateUserRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*CreateUserRequest) Validate ¶
func (m *CreateUserRequest) Validate() error
Validate checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserRequest) ValidateAll ¶
func (m *CreateUserRequest) ValidateAll() error
ValidateAll checks the field values on CreateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserRequestMultiError, or nil if none found.
type CreateUserRequestMultiError ¶
type CreateUserRequestMultiError []error
CreateUserRequestMultiError is an error wrapping multiple validation errors returned by CreateUserRequest.ValidateAll() if the designated constraints aren't met.
func (CreateUserRequestMultiError) AllErrors ¶
func (m CreateUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserRequestMultiError) Error ¶
func (m CreateUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserRequestValidationError ¶
type CreateUserRequestValidationError struct {
// contains filtered or unexported fields
}
CreateUserRequestValidationError is the validation error returned by CreateUserRequest.Validate if the designated constraints aren't met.
func (CreateUserRequestValidationError) Cause ¶
func (e CreateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserRequestValidationError) Error ¶
func (e CreateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserRequestValidationError) ErrorName ¶
func (e CreateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserRequestValidationError) Field ¶
func (e CreateUserRequestValidationError) Field() string
Field function returns field value.
func (CreateUserRequestValidationError) Key ¶
func (e CreateUserRequestValidationError) Key() bool
Key function returns key value.
func (CreateUserRequestValidationError) Reason ¶
func (e CreateUserRequestValidationError) Reason() string
Reason function returns reason value.
type CreateUserResponse ¶
type CreateUserResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetId ¶
func (x *CreateUserResponse) GetId() string
func (*CreateUserResponse) MarshalJSON ¶
func (msg *CreateUserResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
func (*CreateUserResponse) UnmarshalJSON ¶
func (msg *CreateUserResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*CreateUserResponse) Validate ¶
func (m *CreateUserResponse) Validate() error
Validate checks the field values on CreateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateUserResponse) ValidateAll ¶
func (m *CreateUserResponse) ValidateAll() error
ValidateAll checks the field values on CreateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateUserResponseMultiError, or nil if none found.
type CreateUserResponseMultiError ¶
type CreateUserResponseMultiError []error
CreateUserResponseMultiError is an error wrapping multiple validation errors returned by CreateUserResponse.ValidateAll() if the designated constraints aren't met.
func (CreateUserResponseMultiError) AllErrors ¶
func (m CreateUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserResponseMultiError) Error ¶
func (m CreateUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserResponseValidationError ¶
type CreateUserResponseValidationError struct {
// contains filtered or unexported fields
}
CreateUserResponseValidationError is the validation error returned by CreateUserResponse.Validate if the designated constraints aren't met.
func (CreateUserResponseValidationError) Cause ¶
func (e CreateUserResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateUserResponseValidationError) Error ¶
func (e CreateUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserResponseValidationError) ErrorName ¶
func (e CreateUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserResponseValidationError) Field ¶
func (e CreateUserResponseValidationError) Field() string
Field function returns field value.
func (CreateUserResponseValidationError) Key ¶
func (e CreateUserResponseValidationError) Key() bool
Key function returns key value.
func (CreateUserResponseValidationError) Reason ¶
func (e CreateUserResponseValidationError) Reason() string
Reason function returns reason value.
type Delete ¶
type Delete struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*Delete) Descriptor
deprecated
func (*Delete) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Delete) ProtoMessage ¶
func (*Delete) ProtoMessage()
func (*Delete) ProtoReflect ¶
func (x *Delete) ProtoReflect() protoreflect.Message
func (*Delete) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Delete) Validate ¶
Validate checks the field values on Delete with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Delete) ValidateAll ¶
ValidateAll checks the field values on Delete with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteMultiError, or nil if none found.
type DeleteMultiError ¶
type DeleteMultiError []error
DeleteMultiError is an error wrapping multiple validation errors returned by Delete.ValidateAll() if the designated constraints aren't met.
func (DeleteMultiError) AllErrors ¶
func (m DeleteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteMultiError) Error ¶
func (m DeleteMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteValidationError ¶
type DeleteValidationError struct {
// contains filtered or unexported fields
}
DeleteValidationError is the validation error returned by Delete.Validate if the designated constraints aren't met.
func (DeleteValidationError) Cause ¶
func (e DeleteValidationError) Cause() error
Cause function returns cause value.
func (DeleteValidationError) Error ¶
func (e DeleteValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteValidationError) ErrorName ¶
func (e DeleteValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteValidationError) Field ¶
func (e DeleteValidationError) Field() string
Field function returns field value.
func (DeleteValidationError) Key ¶
func (e DeleteValidationError) Key() bool
Key function returns key value.
func (DeleteValidationError) Reason ¶
func (e DeleteValidationError) Reason() string
Reason function returns reason value.
type Event ¶
type Event struct { // Contains event body. // // Types that are assignable to Body: // // *Event_Add // *Event_Update // *Event_Delete Body isEvent_Body `protobuf_oneof:"body"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Event) Validate ¶
Validate checks the field values on Event with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Event) ValidateAll ¶
ValidateAll checks the field values on Event with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EventMultiError, or nil if none found.
type EventMultiError ¶
type EventMultiError []error
EventMultiError is an error wrapping multiple validation errors returned by Event.ValidateAll() if the designated constraints aren't met.
func (EventMultiError) AllErrors ¶
func (m EventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EventMultiError) Error ¶
func (m EventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EventValidationError ¶
type EventValidationError struct {
// contains filtered or unexported fields
}
EventValidationError is the validation error returned by Event.Validate if the designated constraints aren't met.
func (EventValidationError) Cause ¶
func (e EventValidationError) Cause() error
Cause function returns cause value.
func (EventValidationError) Error ¶
func (e EventValidationError) Error() string
Error satisfies the builtin error interface
func (EventValidationError) ErrorName ¶
func (e EventValidationError) ErrorName() string
ErrorName returns error name.
func (EventValidationError) Field ¶
func (e EventValidationError) Field() string
Field function returns field value.
func (EventValidationError) Key ¶
func (e EventValidationError) Key() bool
Key function returns key value.
func (EventValidationError) Reason ¶
func (e EventValidationError) Reason() string
Reason function returns reason value.
type Event_Delete ¶
type Event_Delete struct {
Delete *Delete `protobuf:"bytes,3,opt,name=delete,proto3,oneof"`
}
type Event_Update ¶
type Event_Update struct {
Update *Update `protobuf:"bytes,2,opt,name=update,proto3,oneof"`
}
type GetUserRequest ¶
type GetUserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() string
func (*GetUserRequest) MarshalJSON ¶
func (msg *GetUserRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetUserRequest) Matches ¶
func (x *GetUserRequest) Matches(y interface{}) bool
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
func (*GetUserRequest) UnmarshalJSON ¶
func (msg *GetUserRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetUserRequest) Validate ¶
func (m *GetUserRequest) Validate() error
Validate checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserRequest) ValidateAll ¶
func (m *GetUserRequest) ValidateAll() error
ValidateAll checks the field values on GetUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserRequestMultiError, or nil if none found.
type GetUserRequestMultiError ¶
type GetUserRequestMultiError []error
GetUserRequestMultiError is an error wrapping multiple validation errors returned by GetUserRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserRequestMultiError) AllErrors ¶
func (m GetUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserRequestMultiError) Error ¶
func (m GetUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserRequestValidationError ¶
type GetUserRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserRequestValidationError is the validation error returned by GetUserRequest.Validate if the designated constraints aren't met.
func (GetUserRequestValidationError) Cause ¶
func (e GetUserRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserRequestValidationError) Error ¶
func (e GetUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserRequestValidationError) ErrorName ¶
func (e GetUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserRequestValidationError) Field ¶
func (e GetUserRequestValidationError) Field() string
Field function returns field value.
func (GetUserRequestValidationError) Key ¶
func (e GetUserRequestValidationError) Key() bool
Key function returns key value.
func (GetUserRequestValidationError) Reason ¶
func (e GetUserRequestValidationError) Reason() string
Reason function returns reason value.
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) MarshalJSON ¶
func (msg *GetUserResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
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
func (*GetUserResponse) UnmarshalJSON ¶
func (msg *GetUserResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetUserResponse) Validate ¶
func (m *GetUserResponse) Validate() error
Validate checks the field values on GetUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserResponse) ValidateAll ¶
func (m *GetUserResponse) ValidateAll() error
ValidateAll checks the field values on GetUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserResponseMultiError, or nil if none found.
type GetUserResponseMultiError ¶
type GetUserResponseMultiError []error
GetUserResponseMultiError is an error wrapping multiple validation errors returned by GetUserResponse.ValidateAll() if the designated constraints aren't met.
func (GetUserResponseMultiError) AllErrors ¶
func (m GetUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserResponseMultiError) Error ¶
func (m GetUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserResponseValidationError ¶
type GetUserResponseValidationError struct {
// contains filtered or unexported fields
}
GetUserResponseValidationError is the validation error returned by GetUserResponse.Validate if the designated constraints aren't met.
func (GetUserResponseValidationError) Cause ¶
func (e GetUserResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUserResponseValidationError) Error ¶
func (e GetUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserResponseValidationError) ErrorName ¶
func (e GetUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserResponseValidationError) Field ¶
func (e GetUserResponseValidationError) Field() string
Field function returns field value.
func (GetUserResponseValidationError) Key ¶
func (e GetUserResponseValidationError) Key() bool
Key function returns key value.
func (GetUserResponseValidationError) Reason ¶
func (e GetUserResponseValidationError) Reason() string
Reason function returns reason value.
type GetUsersByIDsRequest ¶
type GetUsersByIDsRequest struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*GetUsersByIDsRequest) Descriptor
deprecated
func (*GetUsersByIDsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersByIDsRequest.ProtoReflect.Descriptor instead.
func (*GetUsersByIDsRequest) GetIds ¶
func (x *GetUsersByIDsRequest) GetIds() []string
func (*GetUsersByIDsRequest) MarshalJSON ¶
func (msg *GetUsersByIDsRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetUsersByIDsRequest) Matches ¶
func (x *GetUsersByIDsRequest) Matches(y interface{}) bool
func (*GetUsersByIDsRequest) ProtoMessage ¶
func (*GetUsersByIDsRequest) ProtoMessage()
func (*GetUsersByIDsRequest) ProtoReflect ¶
func (x *GetUsersByIDsRequest) ProtoReflect() protoreflect.Message
func (*GetUsersByIDsRequest) Reset ¶
func (x *GetUsersByIDsRequest) Reset()
func (*GetUsersByIDsRequest) String ¶
func (x *GetUsersByIDsRequest) String() string
func (*GetUsersByIDsRequest) UnmarshalJSON ¶
func (msg *GetUsersByIDsRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetUsersByIDsRequest) Validate ¶
func (m *GetUsersByIDsRequest) Validate() error
Validate checks the field values on GetUsersByIDsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUsersByIDsRequest) ValidateAll ¶
func (m *GetUsersByIDsRequest) ValidateAll() error
ValidateAll checks the field values on GetUsersByIDsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUsersByIDsRequestMultiError, or nil if none found.
type GetUsersByIDsRequestMultiError ¶
type GetUsersByIDsRequestMultiError []error
GetUsersByIDsRequestMultiError is an error wrapping multiple validation errors returned by GetUsersByIDsRequest.ValidateAll() if the designated constraints aren't met.
func (GetUsersByIDsRequestMultiError) AllErrors ¶
func (m GetUsersByIDsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUsersByIDsRequestMultiError) Error ¶
func (m GetUsersByIDsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUsersByIDsRequestValidationError ¶
type GetUsersByIDsRequestValidationError struct {
// contains filtered or unexported fields
}
GetUsersByIDsRequestValidationError is the validation error returned by GetUsersByIDsRequest.Validate if the designated constraints aren't met.
func (GetUsersByIDsRequestValidationError) Cause ¶
func (e GetUsersByIDsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUsersByIDsRequestValidationError) Error ¶
func (e GetUsersByIDsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUsersByIDsRequestValidationError) ErrorName ¶
func (e GetUsersByIDsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUsersByIDsRequestValidationError) Field ¶
func (e GetUsersByIDsRequestValidationError) Field() string
Field function returns field value.
func (GetUsersByIDsRequestValidationError) Key ¶
func (e GetUsersByIDsRequestValidationError) Key() bool
Key function returns key value.
func (GetUsersByIDsRequestValidationError) Reason ¶
func (e GetUsersByIDsRequestValidationError) Reason() string
Reason function returns reason value.
type GetUsersByIDsResponse ¶
type GetUsersByIDsResponse struct { Result []*User `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*GetUsersByIDsResponse) Descriptor
deprecated
func (*GetUsersByIDsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersByIDsResponse.ProtoReflect.Descriptor instead.
func (*GetUsersByIDsResponse) GetResult ¶
func (x *GetUsersByIDsResponse) GetResult() []*User
func (*GetUsersByIDsResponse) MarshalJSON ¶
func (msg *GetUsersByIDsResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*GetUsersByIDsResponse) ProtoMessage ¶
func (*GetUsersByIDsResponse) ProtoMessage()
func (*GetUsersByIDsResponse) ProtoReflect ¶
func (x *GetUsersByIDsResponse) ProtoReflect() protoreflect.Message
func (*GetUsersByIDsResponse) Reset ¶
func (x *GetUsersByIDsResponse) Reset()
func (*GetUsersByIDsResponse) String ¶
func (x *GetUsersByIDsResponse) String() string
func (*GetUsersByIDsResponse) UnmarshalJSON ¶
func (msg *GetUsersByIDsResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*GetUsersByIDsResponse) Validate ¶
func (m *GetUsersByIDsResponse) Validate() error
Validate checks the field values on GetUsersByIDsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUsersByIDsResponse) ValidateAll ¶
func (m *GetUsersByIDsResponse) ValidateAll() error
ValidateAll checks the field values on GetUsersByIDsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUsersByIDsResponseMultiError, or nil if none found.
type GetUsersByIDsResponseMultiError ¶
type GetUsersByIDsResponseMultiError []error
GetUsersByIDsResponseMultiError is an error wrapping multiple validation errors returned by GetUsersByIDsResponse.ValidateAll() if the designated constraints aren't met.
func (GetUsersByIDsResponseMultiError) AllErrors ¶
func (m GetUsersByIDsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUsersByIDsResponseMultiError) Error ¶
func (m GetUsersByIDsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUsersByIDsResponseValidationError ¶
type GetUsersByIDsResponseValidationError struct {
// contains filtered or unexported fields
}
GetUsersByIDsResponseValidationError is the validation error returned by GetUsersByIDsResponse.Validate if the designated constraints aren't met.
func (GetUsersByIDsResponseValidationError) Cause ¶
func (e GetUsersByIDsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUsersByIDsResponseValidationError) Error ¶
func (e GetUsersByIDsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUsersByIDsResponseValidationError) ErrorName ¶
func (e GetUsersByIDsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUsersByIDsResponseValidationError) Field ¶
func (e GetUsersByIDsResponseValidationError) Field() string
Field function returns field value.
func (GetUsersByIDsResponseValidationError) Key ¶
func (e GetUsersByIDsResponseValidationError) Key() bool
Key function returns key value.
func (GetUsersByIDsResponseValidationError) Reason ¶
func (e GetUsersByIDsResponseValidationError) Reason() string
Reason function returns reason value.
type ListUserAvatarRequest ¶
type ListUserAvatarRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*ListUserAvatarRequest) Descriptor
deprecated
func (*ListUserAvatarRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserAvatarRequest.ProtoReflect.Descriptor instead.
func (*ListUserAvatarRequest) GetUserId ¶
func (x *ListUserAvatarRequest) GetUserId() string
func (*ListUserAvatarRequest) MarshalJSON ¶
func (msg *ListUserAvatarRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ListUserAvatarRequest) Matches ¶
func (x *ListUserAvatarRequest) Matches(y interface{}) bool
func (*ListUserAvatarRequest) ProtoMessage ¶
func (*ListUserAvatarRequest) ProtoMessage()
func (*ListUserAvatarRequest) ProtoReflect ¶
func (x *ListUserAvatarRequest) ProtoReflect() protoreflect.Message
func (*ListUserAvatarRequest) Reset ¶
func (x *ListUserAvatarRequest) Reset()
func (*ListUserAvatarRequest) String ¶
func (x *ListUserAvatarRequest) String() string
func (*ListUserAvatarRequest) UnmarshalJSON ¶
func (msg *ListUserAvatarRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ListUserAvatarRequest) Validate ¶
func (m *ListUserAvatarRequest) Validate() error
Validate checks the field values on ListUserAvatarRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserAvatarRequest) ValidateAll ¶
func (m *ListUserAvatarRequest) ValidateAll() error
ValidateAll checks the field values on ListUserAvatarRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserAvatarRequestMultiError, or nil if none found.
type ListUserAvatarRequestMultiError ¶
type ListUserAvatarRequestMultiError []error
ListUserAvatarRequestMultiError is an error wrapping multiple validation errors returned by ListUserAvatarRequest.ValidateAll() if the designated constraints aren't met.
func (ListUserAvatarRequestMultiError) AllErrors ¶
func (m ListUserAvatarRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserAvatarRequestMultiError) Error ¶
func (m ListUserAvatarRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserAvatarRequestValidationError ¶
type ListUserAvatarRequestValidationError struct {
// contains filtered or unexported fields
}
ListUserAvatarRequestValidationError is the validation error returned by ListUserAvatarRequest.Validate if the designated constraints aren't met.
func (ListUserAvatarRequestValidationError) Cause ¶
func (e ListUserAvatarRequestValidationError) Cause() error
Cause function returns cause value.
func (ListUserAvatarRequestValidationError) Error ¶
func (e ListUserAvatarRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserAvatarRequestValidationError) ErrorName ¶
func (e ListUserAvatarRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserAvatarRequestValidationError) Field ¶
func (e ListUserAvatarRequestValidationError) Field() string
Field function returns field value.
func (ListUserAvatarRequestValidationError) Key ¶
func (e ListUserAvatarRequestValidationError) Key() bool
Key function returns key value.
func (ListUserAvatarRequestValidationError) Reason ¶
func (e ListUserAvatarRequestValidationError) Reason() string
Reason function returns reason value.
type ListUserAvatarResponse ¶
type ListUserAvatarResponse struct { Avatars []*UserAvatar `protobuf:"bytes,1,rep,name=avatars,proto3" json:"avatars,omitempty"` // contains filtered or unexported fields }
func (*ListUserAvatarResponse) Descriptor
deprecated
func (*ListUserAvatarResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserAvatarResponse.ProtoReflect.Descriptor instead.
func (*ListUserAvatarResponse) GetAvatars ¶
func (x *ListUserAvatarResponse) GetAvatars() []*UserAvatar
func (*ListUserAvatarResponse) MarshalJSON ¶
func (msg *ListUserAvatarResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*ListUserAvatarResponse) ProtoMessage ¶
func (*ListUserAvatarResponse) ProtoMessage()
func (*ListUserAvatarResponse) ProtoReflect ¶
func (x *ListUserAvatarResponse) ProtoReflect() protoreflect.Message
func (*ListUserAvatarResponse) Reset ¶
func (x *ListUserAvatarResponse) Reset()
func (*ListUserAvatarResponse) String ¶
func (x *ListUserAvatarResponse) String() string
func (*ListUserAvatarResponse) UnmarshalJSON ¶
func (msg *ListUserAvatarResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*ListUserAvatarResponse) Validate ¶
func (m *ListUserAvatarResponse) Validate() error
Validate checks the field values on ListUserAvatarResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListUserAvatarResponse) ValidateAll ¶
func (m *ListUserAvatarResponse) ValidateAll() error
ValidateAll checks the field values on ListUserAvatarResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListUserAvatarResponseMultiError, or nil if none found.
type ListUserAvatarResponseMultiError ¶
type ListUserAvatarResponseMultiError []error
ListUserAvatarResponseMultiError is an error wrapping multiple validation errors returned by ListUserAvatarResponse.ValidateAll() if the designated constraints aren't met.
func (ListUserAvatarResponseMultiError) AllErrors ¶
func (m ListUserAvatarResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUserAvatarResponseMultiError) Error ¶
func (m ListUserAvatarResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUserAvatarResponseValidationError ¶
type ListUserAvatarResponseValidationError struct {
// contains filtered or unexported fields
}
ListUserAvatarResponseValidationError is the validation error returned by ListUserAvatarResponse.Validate if the designated constraints aren't met.
func (ListUserAvatarResponseValidationError) Cause ¶
func (e ListUserAvatarResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUserAvatarResponseValidationError) Error ¶
func (e ListUserAvatarResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUserAvatarResponseValidationError) ErrorName ¶
func (e ListUserAvatarResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUserAvatarResponseValidationError) Field ¶
func (e ListUserAvatarResponseValidationError) Field() string
Field function returns field value.
func (ListUserAvatarResponseValidationError) Key ¶
func (e ListUserAvatarResponseValidationError) Key() bool
Key function returns key value.
func (ListUserAvatarResponseValidationError) Reason ¶
func (e ListUserAvatarResponseValidationError) Reason() string
Reason function returns reason value.
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"` // 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) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) MarshalJSON ¶
func (msg *LoginRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*LoginRequest) Matches ¶
func (x *LoginRequest) Matches(y interface{}) bool
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
func (*LoginRequest) UnmarshalJSON ¶
func (msg *LoginRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*LoginRequest) Validate ¶
func (m *LoginRequest) Validate() error
Validate checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LoginRequest) ValidateAll ¶
func (m *LoginRequest) ValidateAll() error
ValidateAll checks the field values on LoginRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginRequestMultiError, or nil if none found.
type LoginRequestMultiError ¶
type LoginRequestMultiError []error
LoginRequestMultiError is an error wrapping multiple validation errors returned by LoginRequest.ValidateAll() if the designated constraints aren't met.
func (LoginRequestMultiError) AllErrors ¶
func (m LoginRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginRequestMultiError) Error ¶
func (m LoginRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginRequestValidationError ¶
type LoginRequestValidationError struct {
// contains filtered or unexported fields
}
LoginRequestValidationError is the validation error returned by LoginRequest.Validate if the designated constraints aren't met.
func (LoginRequestValidationError) Cause ¶
func (e LoginRequestValidationError) Cause() error
Cause function returns cause value.
func (LoginRequestValidationError) Error ¶
func (e LoginRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LoginRequestValidationError) ErrorName ¶
func (e LoginRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LoginRequestValidationError) Field ¶
func (e LoginRequestValidationError) Field() string
Field function returns field value.
func (LoginRequestValidationError) Key ¶
func (e LoginRequestValidationError) Key() bool
Key function returns key value.
func (LoginRequestValidationError) Reason ¶
func (e LoginRequestValidationError) Reason() string
Reason function returns reason value.
type LoginResponse ¶
type LoginResponse struct { UserId string `protobuf:"bytes,1,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) GetUserId ¶
func (x *LoginResponse) GetUserId() string
func (*LoginResponse) MarshalJSON ¶
func (msg *LoginResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
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
func (*LoginResponse) UnmarshalJSON ¶
func (msg *LoginResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*LoginResponse) Validate ¶
func (m *LoginResponse) Validate() error
Validate checks the field values on LoginResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LoginResponse) ValidateAll ¶
func (m *LoginResponse) ValidateAll() error
ValidateAll checks the field values on LoginResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoginResponseMultiError, or nil if none found.
type LoginResponseMultiError ¶
type LoginResponseMultiError []error
LoginResponseMultiError is an error wrapping multiple validation errors returned by LoginResponse.ValidateAll() if the designated constraints aren't met.
func (LoginResponseMultiError) AllErrors ¶
func (m LoginResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoginResponseMultiError) Error ¶
func (m LoginResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoginResponseValidationError ¶
type LoginResponseValidationError struct {
// contains filtered or unexported fields
}
LoginResponseValidationError is the validation error returned by LoginResponse.Validate if the designated constraints aren't met.
func (LoginResponseValidationError) Cause ¶
func (e LoginResponseValidationError) Cause() error
Cause function returns cause value.
func (LoginResponseValidationError) Error ¶
func (e LoginResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LoginResponseValidationError) ErrorName ¶
func (e LoginResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LoginResponseValidationError) Field ¶
func (e LoginResponseValidationError) Field() string
Field function returns field value.
func (LoginResponseValidationError) Key ¶
func (e LoginResponseValidationError) Key() bool
Key function returns key value.
func (LoginResponseValidationError) Reason ¶
func (e LoginResponseValidationError) Reason() string
Reason function returns reason value.
type LogoutRequest ¶
type LogoutRequest struct {
// contains filtered or unexported fields
}
func (*LogoutRequest) Descriptor
deprecated
func (*LogoutRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.
func (*LogoutRequest) MarshalJSON ¶
func (msg *LogoutRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*LogoutRequest) Matches ¶
func (x *LogoutRequest) Matches(y interface{}) bool
func (*LogoutRequest) ProtoMessage ¶
func (*LogoutRequest) ProtoMessage()
func (*LogoutRequest) ProtoReflect ¶
func (x *LogoutRequest) ProtoReflect() protoreflect.Message
func (*LogoutRequest) Reset ¶
func (x *LogoutRequest) Reset()
func (*LogoutRequest) String ¶
func (x *LogoutRequest) String() string
func (*LogoutRequest) UnmarshalJSON ¶
func (msg *LogoutRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*LogoutRequest) Validate ¶
func (m *LogoutRequest) Validate() error
Validate checks the field values on LogoutRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LogoutRequest) ValidateAll ¶
func (m *LogoutRequest) ValidateAll() error
ValidateAll checks the field values on LogoutRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogoutRequestMultiError, or nil if none found.
type LogoutRequestMultiError ¶
type LogoutRequestMultiError []error
LogoutRequestMultiError is an error wrapping multiple validation errors returned by LogoutRequest.ValidateAll() if the designated constraints aren't met.
func (LogoutRequestMultiError) AllErrors ¶
func (m LogoutRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogoutRequestMultiError) Error ¶
func (m LogoutRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogoutRequestValidationError ¶
type LogoutRequestValidationError struct {
// contains filtered or unexported fields
}
LogoutRequestValidationError is the validation error returned by LogoutRequest.Validate if the designated constraints aren't met.
func (LogoutRequestValidationError) Cause ¶
func (e LogoutRequestValidationError) Cause() error
Cause function returns cause value.
func (LogoutRequestValidationError) Error ¶
func (e LogoutRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LogoutRequestValidationError) ErrorName ¶
func (e LogoutRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LogoutRequestValidationError) Field ¶
func (e LogoutRequestValidationError) Field() string
Field function returns field value.
func (LogoutRequestValidationError) Key ¶
func (e LogoutRequestValidationError) Key() bool
Key function returns key value.
func (LogoutRequestValidationError) Reason ¶
func (e LogoutRequestValidationError) Reason() string
Reason function returns reason value.
type LogoutResponse ¶
type LogoutResponse struct {
// contains filtered or unexported fields
}
func (*LogoutResponse) Descriptor
deprecated
func (*LogoutResponse) Descriptor() ([]byte, []int)
Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.
func (*LogoutResponse) MarshalJSON ¶
func (msg *LogoutResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*LogoutResponse) ProtoMessage ¶
func (*LogoutResponse) ProtoMessage()
func (*LogoutResponse) ProtoReflect ¶
func (x *LogoutResponse) ProtoReflect() protoreflect.Message
func (*LogoutResponse) Reset ¶
func (x *LogoutResponse) Reset()
func (*LogoutResponse) String ¶
func (x *LogoutResponse) String() string
func (*LogoutResponse) UnmarshalJSON ¶
func (msg *LogoutResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*LogoutResponse) Validate ¶
func (m *LogoutResponse) Validate() error
Validate checks the field values on LogoutResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LogoutResponse) ValidateAll ¶
func (m *LogoutResponse) ValidateAll() error
ValidateAll checks the field values on LogoutResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LogoutResponseMultiError, or nil if none found.
type LogoutResponseMultiError ¶
type LogoutResponseMultiError []error
LogoutResponseMultiError is an error wrapping multiple validation errors returned by LogoutResponse.ValidateAll() if the designated constraints aren't met.
func (LogoutResponseMultiError) AllErrors ¶
func (m LogoutResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LogoutResponseMultiError) Error ¶
func (m LogoutResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LogoutResponseValidationError ¶
type LogoutResponseValidationError struct {
// contains filtered or unexported fields
}
LogoutResponseValidationError is the validation error returned by LogoutResponse.Validate if the designated constraints aren't met.
func (LogoutResponseValidationError) Cause ¶
func (e LogoutResponseValidationError) Cause() error
Cause function returns cause value.
func (LogoutResponseValidationError) Error ¶
func (e LogoutResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LogoutResponseValidationError) ErrorName ¶
func (e LogoutResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LogoutResponseValidationError) Field ¶
func (e LogoutResponseValidationError) Field() string
Field function returns field value.
func (LogoutResponseValidationError) Key ¶
func (e LogoutResponseValidationError) Key() bool
Key function returns key value.
func (LogoutResponseValidationError) Reason ¶
func (e LogoutResponseValidationError) Reason() string
Reason function returns reason value.
type RemoveAvatarRequest ¶
type RemoveAvatarRequest struct { FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveAvatarRequest) Descriptor
deprecated
func (*RemoveAvatarRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAvatarRequest.ProtoReflect.Descriptor instead.
func (*RemoveAvatarRequest) GetFileId ¶
func (x *RemoveAvatarRequest) GetFileId() string
func (*RemoveAvatarRequest) MarshalJSON ¶
func (msg *RemoveAvatarRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RemoveAvatarRequest) Matches ¶
func (x *RemoveAvatarRequest) Matches(y interface{}) bool
func (*RemoveAvatarRequest) ProtoMessage ¶
func (*RemoveAvatarRequest) ProtoMessage()
func (*RemoveAvatarRequest) ProtoReflect ¶
func (x *RemoveAvatarRequest) ProtoReflect() protoreflect.Message
func (*RemoveAvatarRequest) Reset ¶
func (x *RemoveAvatarRequest) Reset()
func (*RemoveAvatarRequest) String ¶
func (x *RemoveAvatarRequest) String() string
func (*RemoveAvatarRequest) UnmarshalJSON ¶
func (msg *RemoveAvatarRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RemoveAvatarRequest) Validate ¶
func (m *RemoveAvatarRequest) Validate() error
Validate checks the field values on RemoveAvatarRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RemoveAvatarRequest) ValidateAll ¶
func (m *RemoveAvatarRequest) ValidateAll() error
ValidateAll checks the field values on RemoveAvatarRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveAvatarRequestMultiError, or nil if none found.
type RemoveAvatarRequestMultiError ¶
type RemoveAvatarRequestMultiError []error
RemoveAvatarRequestMultiError is an error wrapping multiple validation errors returned by RemoveAvatarRequest.ValidateAll() if the designated constraints aren't met.
func (RemoveAvatarRequestMultiError) AllErrors ¶
func (m RemoveAvatarRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveAvatarRequestMultiError) Error ¶
func (m RemoveAvatarRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemoveAvatarRequestValidationError ¶
type RemoveAvatarRequestValidationError struct {
// contains filtered or unexported fields
}
RemoveAvatarRequestValidationError is the validation error returned by RemoveAvatarRequest.Validate if the designated constraints aren't met.
func (RemoveAvatarRequestValidationError) Cause ¶
func (e RemoveAvatarRequestValidationError) Cause() error
Cause function returns cause value.
func (RemoveAvatarRequestValidationError) Error ¶
func (e RemoveAvatarRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveAvatarRequestValidationError) ErrorName ¶
func (e RemoveAvatarRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveAvatarRequestValidationError) Field ¶
func (e RemoveAvatarRequestValidationError) Field() string
Field function returns field value.
func (RemoveAvatarRequestValidationError) Key ¶
func (e RemoveAvatarRequestValidationError) Key() bool
Key function returns key value.
func (RemoveAvatarRequestValidationError) Reason ¶
func (e RemoveAvatarRequestValidationError) Reason() string
Reason function returns reason value.
type RemoveAvatarResponse ¶
type RemoveAvatarResponse struct {
// contains filtered or unexported fields
}
func (*RemoveAvatarResponse) Descriptor
deprecated
func (*RemoveAvatarResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveAvatarResponse.ProtoReflect.Descriptor instead.
func (*RemoveAvatarResponse) MarshalJSON ¶
func (msg *RemoveAvatarResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*RemoveAvatarResponse) ProtoMessage ¶
func (*RemoveAvatarResponse) ProtoMessage()
func (*RemoveAvatarResponse) ProtoReflect ¶
func (x *RemoveAvatarResponse) ProtoReflect() protoreflect.Message
func (*RemoveAvatarResponse) Reset ¶
func (x *RemoveAvatarResponse) Reset()
func (*RemoveAvatarResponse) String ¶
func (x *RemoveAvatarResponse) String() string
func (*RemoveAvatarResponse) UnmarshalJSON ¶
func (msg *RemoveAvatarResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*RemoveAvatarResponse) Validate ¶
func (m *RemoveAvatarResponse) Validate() error
Validate checks the field values on RemoveAvatarResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RemoveAvatarResponse) ValidateAll ¶
func (m *RemoveAvatarResponse) ValidateAll() error
ValidateAll checks the field values on RemoveAvatarResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveAvatarResponseMultiError, or nil if none found.
type RemoveAvatarResponseMultiError ¶
type RemoveAvatarResponseMultiError []error
RemoveAvatarResponseMultiError is an error wrapping multiple validation errors returned by RemoveAvatarResponse.ValidateAll() if the designated constraints aren't met.
func (RemoveAvatarResponseMultiError) AllErrors ¶
func (m RemoveAvatarResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveAvatarResponseMultiError) Error ¶
func (m RemoveAvatarResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemoveAvatarResponseValidationError ¶
type RemoveAvatarResponseValidationError struct {
// contains filtered or unexported fields
}
RemoveAvatarResponseValidationError is the validation error returned by RemoveAvatarResponse.Validate if the designated constraints aren't met.
func (RemoveAvatarResponseValidationError) Cause ¶
func (e RemoveAvatarResponseValidationError) Cause() error
Cause function returns cause value.
func (RemoveAvatarResponseValidationError) Error ¶
func (e RemoveAvatarResponseValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveAvatarResponseValidationError) ErrorName ¶
func (e RemoveAvatarResponseValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveAvatarResponseValidationError) Field ¶
func (e RemoveAvatarResponseValidationError) Field() string
Field function returns field value.
func (RemoveAvatarResponseValidationError) Key ¶
func (e RemoveAvatarResponseValidationError) Key() bool
Key function returns key value.
func (RemoveAvatarResponseValidationError) Reason ¶
func (e RemoveAvatarResponseValidationError) Reason() string
Reason function returns reason value.
type SearchUsersRequest ¶
type SearchUsersRequest struct { // We are using this field for searching users by username and full name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*SearchUsersRequest) Descriptor
deprecated
func (*SearchUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchUsersRequest.ProtoReflect.Descriptor instead.
func (*SearchUsersRequest) GetLimit ¶
func (x *SearchUsersRequest) GetLimit() int32
func (*SearchUsersRequest) GetName ¶
func (x *SearchUsersRequest) GetName() string
func (*SearchUsersRequest) GetOffset ¶
func (x *SearchUsersRequest) GetOffset() int32
func (*SearchUsersRequest) MarshalJSON ¶
func (msg *SearchUsersRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SearchUsersRequest) Matches ¶
func (x *SearchUsersRequest) Matches(y interface{}) bool
func (*SearchUsersRequest) ProtoMessage ¶
func (*SearchUsersRequest) ProtoMessage()
func (*SearchUsersRequest) ProtoReflect ¶
func (x *SearchUsersRequest) ProtoReflect() protoreflect.Message
func (*SearchUsersRequest) Reset ¶
func (x *SearchUsersRequest) Reset()
func (*SearchUsersRequest) String ¶
func (x *SearchUsersRequest) String() string
func (*SearchUsersRequest) UnmarshalJSON ¶
func (msg *SearchUsersRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*SearchUsersRequest) Validate ¶
func (m *SearchUsersRequest) Validate() error
Validate checks the field values on SearchUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SearchUsersRequest) ValidateAll ¶
func (m *SearchUsersRequest) ValidateAll() error
ValidateAll checks the field values on SearchUsersRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SearchUsersRequestMultiError, or nil if none found.
type SearchUsersRequestMultiError ¶
type SearchUsersRequestMultiError []error
SearchUsersRequestMultiError is an error wrapping multiple validation errors returned by SearchUsersRequest.ValidateAll() if the designated constraints aren't met.
func (SearchUsersRequestMultiError) AllErrors ¶
func (m SearchUsersRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SearchUsersRequestMultiError) Error ¶
func (m SearchUsersRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SearchUsersRequestValidationError ¶
type SearchUsersRequestValidationError struct {
// contains filtered or unexported fields
}
SearchUsersRequestValidationError is the validation error returned by SearchUsersRequest.Validate if the designated constraints aren't met.
func (SearchUsersRequestValidationError) Cause ¶
func (e SearchUsersRequestValidationError) Cause() error
Cause function returns cause value.
func (SearchUsersRequestValidationError) Error ¶
func (e SearchUsersRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SearchUsersRequestValidationError) ErrorName ¶
func (e SearchUsersRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SearchUsersRequestValidationError) Field ¶
func (e SearchUsersRequestValidationError) Field() string
Field function returns field value.
func (SearchUsersRequestValidationError) Key ¶
func (e SearchUsersRequestValidationError) Key() bool
Key function returns key value.
func (SearchUsersRequestValidationError) Reason ¶
func (e SearchUsersRequestValidationError) Reason() string
Reason function returns reason value.
type SearchUsersResponse ¶
type SearchUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*SearchUsersResponse) Descriptor
deprecated
func (*SearchUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchUsersResponse.ProtoReflect.Descriptor instead.
func (*SearchUsersResponse) GetTotal ¶
func (x *SearchUsersResponse) GetTotal() int32
func (*SearchUsersResponse) GetUsers ¶
func (x *SearchUsersResponse) GetUsers() []*User
func (*SearchUsersResponse) MarshalJSON ¶
func (msg *SearchUsersResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*SearchUsersResponse) ProtoMessage ¶
func (*SearchUsersResponse) ProtoMessage()
func (*SearchUsersResponse) ProtoReflect ¶
func (x *SearchUsersResponse) ProtoReflect() protoreflect.Message
func (*SearchUsersResponse) Reset ¶
func (x *SearchUsersResponse) Reset()
func (*SearchUsersResponse) String ¶
func (x *SearchUsersResponse) String() string
func (*SearchUsersResponse) UnmarshalJSON ¶
func (msg *SearchUsersResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*SearchUsersResponse) Validate ¶
func (m *SearchUsersResponse) Validate() error
Validate checks the field values on SearchUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SearchUsersResponse) ValidateAll ¶
func (m *SearchUsersResponse) ValidateAll() error
ValidateAll checks the field values on SearchUsersResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SearchUsersResponseMultiError, or nil if none found.
type SearchUsersResponseMultiError ¶
type SearchUsersResponseMultiError []error
SearchUsersResponseMultiError is an error wrapping multiple validation errors returned by SearchUsersResponse.ValidateAll() if the designated constraints aren't met.
func (SearchUsersResponseMultiError) AllErrors ¶
func (m SearchUsersResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SearchUsersResponseMultiError) Error ¶
func (m SearchUsersResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SearchUsersResponseValidationError ¶
type SearchUsersResponseValidationError struct {
// contains filtered or unexported fields
}
SearchUsersResponseValidationError is the validation error returned by SearchUsersResponse.Validate if the designated constraints aren't met.
func (SearchUsersResponseValidationError) Cause ¶
func (e SearchUsersResponseValidationError) Cause() error
Cause function returns cause value.
func (SearchUsersResponseValidationError) Error ¶
func (e SearchUsersResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SearchUsersResponseValidationError) ErrorName ¶
func (e SearchUsersResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SearchUsersResponseValidationError) Field ¶
func (e SearchUsersResponseValidationError) Field() string
Field function returns field value.
func (SearchUsersResponseValidationError) Key ¶
func (e SearchUsersResponseValidationError) Key() bool
Key function returns key value.
func (SearchUsersResponseValidationError) Reason ¶
func (e SearchUsersResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedUserExternalAPIServer ¶
type UnimplementedUserExternalAPIServer struct { }
UnimplementedUserExternalAPIServer should be embedded to have forward compatible implementations.
func (UnimplementedUserExternalAPIServer) CreateUser ¶
func (UnimplementedUserExternalAPIServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedUserExternalAPIServer) GetUser ¶
func (UnimplementedUserExternalAPIServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserExternalAPIServer) GetUsersByIDs ¶
func (UnimplementedUserExternalAPIServer) GetUsersByIDs(context.Context, *GetUsersByIDsRequest) (*GetUsersByIDsResponse, error)
func (UnimplementedUserExternalAPIServer) ListUserAvatar ¶
func (UnimplementedUserExternalAPIServer) ListUserAvatar(context.Context, *ListUserAvatarRequest) (*ListUserAvatarResponse, error)
func (UnimplementedUserExternalAPIServer) Login ¶
func (UnimplementedUserExternalAPIServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedUserExternalAPIServer) Logout ¶
func (UnimplementedUserExternalAPIServer) Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
func (UnimplementedUserExternalAPIServer) RemoveAvatar ¶
func (UnimplementedUserExternalAPIServer) RemoveAvatar(context.Context, *RemoveAvatarRequest) (*RemoveAvatarResponse, error)
func (UnimplementedUserExternalAPIServer) SearchUsers ¶
func (UnimplementedUserExternalAPIServer) SearchUsers(context.Context, *SearchUsersRequest) (*SearchUsersResponse, error)
func (UnimplementedUserExternalAPIServer) UpdatePassword ¶
func (UnimplementedUserExternalAPIServer) UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error)
func (UnimplementedUserExternalAPIServer) UpdateUser ¶
func (UnimplementedUserExternalAPIServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
func (UnimplementedUserExternalAPIServer) VerificationEmail ¶
func (UnimplementedUserExternalAPIServer) VerificationEmail(context.Context, *VerificationEmailRequest) (*VerificationEmailResponse, error)
func (UnimplementedUserExternalAPIServer) VerificationUsername ¶
func (UnimplementedUserExternalAPIServer) VerificationUsername(context.Context, *VerificationUsernameRequest) (*VerificationUsernameResponse, error)
type UnsafeUserExternalAPIServer ¶
type UnsafeUserExternalAPIServer interface {
// contains filtered or unexported methods
}
UnsafeUserExternalAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserExternalAPIServer will result in compilation errors.
type Update ¶
type Update struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*Update) Descriptor
deprecated
func (*Update) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Update) ProtoMessage ¶
func (*Update) ProtoMessage()
func (*Update) ProtoReflect ¶
func (x *Update) ProtoReflect() protoreflect.Message
func (*Update) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Update) Validate ¶
Validate checks the field values on Update with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Update) ValidateAll ¶
ValidateAll checks the field values on Update with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateMultiError, or nil if none found.
type UpdateMultiError ¶
type UpdateMultiError []error
UpdateMultiError is an error wrapping multiple validation errors returned by Update.ValidateAll() if the designated constraints aren't met.
func (UpdateMultiError) AllErrors ¶
func (m UpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateMultiError) Error ¶
func (m UpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePasswordRequest ¶
type UpdatePasswordRequest struct { Old string `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"` New string `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"` // contains filtered or unexported fields }
func (*UpdatePasswordRequest) Descriptor
deprecated
func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.
func (*UpdatePasswordRequest) GetNew ¶
func (x *UpdatePasswordRequest) GetNew() string
func (*UpdatePasswordRequest) GetOld ¶
func (x *UpdatePasswordRequest) GetOld() string
func (*UpdatePasswordRequest) MarshalJSON ¶
func (msg *UpdatePasswordRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UpdatePasswordRequest) Matches ¶
func (x *UpdatePasswordRequest) Matches(y interface{}) bool
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
func (*UpdatePasswordRequest) UnmarshalJSON ¶
func (msg *UpdatePasswordRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*UpdatePasswordRequest) Validate ¶
func (m *UpdatePasswordRequest) Validate() error
Validate checks the field values on UpdatePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdatePasswordRequest) ValidateAll ¶
func (m *UpdatePasswordRequest) ValidateAll() error
ValidateAll checks the field values on UpdatePasswordRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdatePasswordRequestMultiError, or nil if none found.
type UpdatePasswordRequestMultiError ¶
type UpdatePasswordRequestMultiError []error
UpdatePasswordRequestMultiError is an error wrapping multiple validation errors returned by UpdatePasswordRequest.ValidateAll() if the designated constraints aren't met.
func (UpdatePasswordRequestMultiError) AllErrors ¶
func (m UpdatePasswordRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePasswordRequestMultiError) Error ¶
func (m UpdatePasswordRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePasswordRequestValidationError ¶
type UpdatePasswordRequestValidationError struct {
// contains filtered or unexported fields
}
UpdatePasswordRequestValidationError is the validation error returned by UpdatePasswordRequest.Validate if the designated constraints aren't met.
func (UpdatePasswordRequestValidationError) Cause ¶
func (e UpdatePasswordRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdatePasswordRequestValidationError) Error ¶
func (e UpdatePasswordRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePasswordRequestValidationError) ErrorName ¶
func (e UpdatePasswordRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePasswordRequestValidationError) Field ¶
func (e UpdatePasswordRequestValidationError) Field() string
Field function returns field value.
func (UpdatePasswordRequestValidationError) Key ¶
func (e UpdatePasswordRequestValidationError) Key() bool
Key function returns key value.
func (UpdatePasswordRequestValidationError) Reason ¶
func (e UpdatePasswordRequestValidationError) Reason() string
Reason function returns reason value.
type UpdatePasswordResponse ¶
type UpdatePasswordResponse struct {
// contains filtered or unexported fields
}
func (*UpdatePasswordResponse) Descriptor
deprecated
func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePasswordResponse.ProtoReflect.Descriptor instead.
func (*UpdatePasswordResponse) MarshalJSON ¶
func (msg *UpdatePasswordResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UpdatePasswordResponse) ProtoMessage ¶
func (*UpdatePasswordResponse) ProtoMessage()
func (*UpdatePasswordResponse) ProtoReflect ¶
func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message
func (*UpdatePasswordResponse) Reset ¶
func (x *UpdatePasswordResponse) Reset()
func (*UpdatePasswordResponse) String ¶
func (x *UpdatePasswordResponse) String() string
func (*UpdatePasswordResponse) UnmarshalJSON ¶
func (msg *UpdatePasswordResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*UpdatePasswordResponse) Validate ¶
func (m *UpdatePasswordResponse) Validate() error
Validate checks the field values on UpdatePasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdatePasswordResponse) ValidateAll ¶
func (m *UpdatePasswordResponse) ValidateAll() error
ValidateAll checks the field values on UpdatePasswordResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdatePasswordResponseMultiError, or nil if none found.
type UpdatePasswordResponseMultiError ¶
type UpdatePasswordResponseMultiError []error
UpdatePasswordResponseMultiError is an error wrapping multiple validation errors returned by UpdatePasswordResponse.ValidateAll() if the designated constraints aren't met.
func (UpdatePasswordResponseMultiError) AllErrors ¶
func (m UpdatePasswordResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdatePasswordResponseMultiError) Error ¶
func (m UpdatePasswordResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdatePasswordResponseValidationError ¶
type UpdatePasswordResponseValidationError struct {
// contains filtered or unexported fields
}
UpdatePasswordResponseValidationError is the validation error returned by UpdatePasswordResponse.Validate if the designated constraints aren't met.
func (UpdatePasswordResponseValidationError) Cause ¶
func (e UpdatePasswordResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdatePasswordResponseValidationError) Error ¶
func (e UpdatePasswordResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdatePasswordResponseValidationError) ErrorName ¶
func (e UpdatePasswordResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdatePasswordResponseValidationError) Field ¶
func (e UpdatePasswordResponseValidationError) Field() string
Field function returns field value.
func (UpdatePasswordResponseValidationError) Key ¶
func (e UpdatePasswordResponseValidationError) Key() bool
Key function returns key value.
func (UpdatePasswordResponseValidationError) Reason ¶
func (e UpdatePasswordResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateUserRequest ¶
type UpdateUserRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` AvatarId string `protobuf:"bytes,2,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` FullName string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetAvatarId ¶
func (x *UpdateUserRequest) GetAvatarId() string
func (*UpdateUserRequest) GetFullName ¶
func (x *UpdateUserRequest) GetFullName() string
func (*UpdateUserRequest) GetUsername ¶
func (x *UpdateUserRequest) GetUsername() string
func (*UpdateUserRequest) MarshalJSON ¶
func (msg *UpdateUserRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UpdateUserRequest) Matches ¶
func (x *UpdateUserRequest) Matches(y interface{}) bool
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
func (*UpdateUserRequest) UnmarshalJSON ¶
func (msg *UpdateUserRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*UpdateUserRequest) Validate ¶
func (m *UpdateUserRequest) Validate() error
Validate checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserRequest) ValidateAll ¶
func (m *UpdateUserRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserRequestMultiError, or nil if none found.
type UpdateUserRequestMultiError ¶
type UpdateUserRequestMultiError []error
UpdateUserRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserRequestMultiError) AllErrors ¶
func (m UpdateUserRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserRequestMultiError) Error ¶
func (m UpdateUserRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserRequestValidationError ¶
type UpdateUserRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserRequestValidationError is the validation error returned by UpdateUserRequest.Validate if the designated constraints aren't met.
func (UpdateUserRequestValidationError) Cause ¶
func (e UpdateUserRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserRequestValidationError) Error ¶
func (e UpdateUserRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserRequestValidationError) ErrorName ¶
func (e UpdateUserRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserRequestValidationError) Field ¶
func (e UpdateUserRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserRequestValidationError) Key ¶
func (e UpdateUserRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserRequestValidationError) Reason ¶
func (e UpdateUserRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserResponse ¶
type UpdateUserResponse struct {
// contains filtered or unexported fields
}
func (*UpdateUserResponse) Descriptor
deprecated
func (*UpdateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserResponse) MarshalJSON ¶
func (msg *UpdateUserResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UpdateUserResponse) ProtoMessage ¶
func (*UpdateUserResponse) ProtoMessage()
func (*UpdateUserResponse) ProtoReflect ¶
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserResponse) Reset ¶
func (x *UpdateUserResponse) Reset()
func (*UpdateUserResponse) String ¶
func (x *UpdateUserResponse) String() string
func (*UpdateUserResponse) UnmarshalJSON ¶
func (msg *UpdateUserResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*UpdateUserResponse) Validate ¶
func (m *UpdateUserResponse) Validate() error
Validate checks the field values on UpdateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserResponse) ValidateAll ¶
func (m *UpdateUserResponse) ValidateAll() error
ValidateAll checks the field values on UpdateUserResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserResponseMultiError, or nil if none found.
type UpdateUserResponseMultiError ¶
type UpdateUserResponseMultiError []error
UpdateUserResponseMultiError is an error wrapping multiple validation errors returned by UpdateUserResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateUserResponseMultiError) AllErrors ¶
func (m UpdateUserResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserResponseMultiError) Error ¶
func (m UpdateUserResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserResponseValidationError ¶
type UpdateUserResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateUserResponseValidationError is the validation error returned by UpdateUserResponse.Validate if the designated constraints aren't met.
func (UpdateUserResponseValidationError) Cause ¶
func (e UpdateUserResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserResponseValidationError) Error ¶
func (e UpdateUserResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserResponseValidationError) ErrorName ¶
func (e UpdateUserResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserResponseValidationError) Field ¶
func (e UpdateUserResponseValidationError) Field() string
Field function returns field value.
func (UpdateUserResponseValidationError) Key ¶
func (e UpdateUserResponseValidationError) Key() bool
Key function returns key value.
func (UpdateUserResponseValidationError) Reason ¶
func (e UpdateUserResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateValidationError ¶
type UpdateValidationError struct {
// contains filtered or unexported fields
}
UpdateValidationError is the validation error returned by Update.Validate if the designated constraints aren't met.
func (UpdateValidationError) Cause ¶
func (e UpdateValidationError) Cause() error
Cause function returns cause value.
func (UpdateValidationError) Error ¶
func (e UpdateValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateValidationError) ErrorName ¶
func (e UpdateValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateValidationError) Field ¶
func (e UpdateValidationError) Field() string
Field function returns field value.
func (UpdateValidationError) Key ¶
func (e UpdateValidationError) Key() bool
Key function returns key value.
func (UpdateValidationError) Reason ¶
func (e UpdateValidationError) Reason() string
Reason function returns reason value.
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` AvatarId string `protobuf:"bytes,4,opt,name=avatar_id,json=avatarId,proto3" json:"avatar_id,omitempty"` Kind v1.StatusKind `protobuf:"varint,5,opt,name=kind,proto3,enum=api.user_status.v1.StatusKind" json:"kind,omitempty"` FullName string `protobuf:"bytes,6,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetAvatarId ¶
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) GetFullName ¶
func (*User) GetKind ¶
func (x *User) GetKind() v1.StatusKind
func (*User) GetUpdatedAt ¶
func (x *User) GetUpdatedAt() *timestamppb.Timestamp
func (*User) GetUsername ¶
func (*User) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
func (*User) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*User) Validate ¶
Validate checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*User) ValidateAll ¶
ValidateAll checks the field values on User with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMultiError, or nil if none found.
type UserAvatar ¶
type UserAvatar struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` FileId string `protobuf:"bytes,2,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // contains filtered or unexported fields }
func (*UserAvatar) Descriptor
deprecated
func (*UserAvatar) Descriptor() ([]byte, []int)
Deprecated: Use UserAvatar.ProtoReflect.Descriptor instead.
func (*UserAvatar) GetFileId ¶
func (x *UserAvatar) GetFileId() string
func (*UserAvatar) GetUserId ¶
func (x *UserAvatar) GetUserId() string
func (*UserAvatar) MarshalJSON ¶
func (msg *UserAvatar) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*UserAvatar) ProtoMessage ¶
func (*UserAvatar) ProtoMessage()
func (*UserAvatar) ProtoReflect ¶
func (x *UserAvatar) ProtoReflect() protoreflect.Message
func (*UserAvatar) Reset ¶
func (x *UserAvatar) Reset()
func (*UserAvatar) String ¶
func (x *UserAvatar) String() string
func (*UserAvatar) UnmarshalJSON ¶
func (msg *UserAvatar) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*UserAvatar) Validate ¶
func (m *UserAvatar) Validate() error
Validate checks the field values on UserAvatar with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserAvatar) ValidateAll ¶
func (m *UserAvatar) ValidateAll() error
ValidateAll checks the field values on UserAvatar with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserAvatarMultiError, or nil if none found.
type UserAvatarMultiError ¶
type UserAvatarMultiError []error
UserAvatarMultiError is an error wrapping multiple validation errors returned by UserAvatar.ValidateAll() if the designated constraints aren't met.
func (UserAvatarMultiError) AllErrors ¶
func (m UserAvatarMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserAvatarMultiError) Error ¶
func (m UserAvatarMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserAvatarValidationError ¶
type UserAvatarValidationError struct {
// contains filtered or unexported fields
}
UserAvatarValidationError is the validation error returned by UserAvatar.Validate if the designated constraints aren't met.
func (UserAvatarValidationError) Cause ¶
func (e UserAvatarValidationError) Cause() error
Cause function returns cause value.
func (UserAvatarValidationError) Error ¶
func (e UserAvatarValidationError) Error() string
Error satisfies the builtin error interface
func (UserAvatarValidationError) ErrorName ¶
func (e UserAvatarValidationError) ErrorName() string
ErrorName returns error name.
func (UserAvatarValidationError) Field ¶
func (e UserAvatarValidationError) Field() string
Field function returns field value.
func (UserAvatarValidationError) Key ¶
func (e UserAvatarValidationError) Key() bool
Key function returns key value.
func (UserAvatarValidationError) Reason ¶
func (e UserAvatarValidationError) Reason() string
Reason function returns reason value.
type UserExternalAPIClient ¶
type UserExternalAPIClient interface { // Verification and exist checking user's email. // It should be valid email. VerificationEmail(ctx context.Context, in *VerificationEmailRequest, opts ...grpc.CallOption) (*VerificationEmailResponse, error) // Verification and exist checking user's name. // It should be valid email. VerificationUsername(ctx context.Context, in *VerificationUsernameRequest, opts ...grpc.CallOption) (*VerificationUsernameResponse, error) // Create user by params. CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) // Login by email. Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) // Logout and remove user session. Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error) // Get user's information. // If you not send user's id, we will return caller's profile by authorization token. GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) // Search users by username and full name. SearchUsers(ctx context.Context, in *SearchUsersRequest, opts ...grpc.CallOption) (*SearchUsersResponse, error) // Set new password. UpdatePassword(ctx context.Context, in *UpdatePasswordRequest, opts ...grpc.CallOption) (*UpdatePasswordResponse, error) // Update profile. UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) // Remove user avatar. RemoveAvatar(ctx context.Context, in *RemoveAvatarRequest, opts ...grpc.CallOption) (*RemoveAvatarResponse, error) // List user avatar. ListUserAvatar(ctx context.Context, in *ListUserAvatarRequest, opts ...grpc.CallOption) (*ListUserAvatarResponse, error) // Search users by ids. GetUsersByIDs(ctx context.Context, in *GetUsersByIDsRequest, opts ...grpc.CallOption) (*GetUsersByIDsResponse, error) }
UserExternalAPIClient is the client API for UserExternalAPI 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 NewUserExternalAPIClient ¶
func NewUserExternalAPIClient(cc grpc.ClientConnInterface) UserExternalAPIClient
type UserExternalAPIServer ¶
type UserExternalAPIServer interface { // Verification and exist checking user's email. // It should be valid email. VerificationEmail(context.Context, *VerificationEmailRequest) (*VerificationEmailResponse, error) // Verification and exist checking user's name. // It should be valid email. VerificationUsername(context.Context, *VerificationUsernameRequest) (*VerificationUsernameResponse, error) // Create user by params. CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) // Login by email. Login(context.Context, *LoginRequest) (*LoginResponse, error) // Logout and remove user session. Logout(context.Context, *LogoutRequest) (*LogoutResponse, error) // Get user's information. // If you not send user's id, we will return caller's profile by authorization token. GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) // Search users by username and full name. SearchUsers(context.Context, *SearchUsersRequest) (*SearchUsersResponse, error) // Set new password. UpdatePassword(context.Context, *UpdatePasswordRequest) (*UpdatePasswordResponse, error) // Update profile. UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) // Remove user avatar. RemoveAvatar(context.Context, *RemoveAvatarRequest) (*RemoveAvatarResponse, error) // List user avatar. ListUserAvatar(context.Context, *ListUserAvatarRequest) (*ListUserAvatarResponse, error) // Search users by ids. GetUsersByIDs(context.Context, *GetUsersByIDsRequest) (*GetUsersByIDsResponse, error) }
UserExternalAPIServer is the server API for UserExternalAPI service. All implementations should embed UnimplementedUserExternalAPIServer for forward compatibility
type UserMultiError ¶
type UserMultiError []error
UserMultiError is an error wrapping multiple validation errors returned by User.ValidateAll() if the designated constraints aren't met.
func (UserMultiError) AllErrors ¶
func (m UserMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserMultiError) Error ¶
func (m UserMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserValidationError ¶
type UserValidationError struct {
// contains filtered or unexported fields
}
UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.
func (UserValidationError) Cause ¶
func (e UserValidationError) Cause() error
Cause function returns cause value.
func (UserValidationError) Error ¶
func (e UserValidationError) Error() string
Error satisfies the builtin error interface
func (UserValidationError) ErrorName ¶
func (e UserValidationError) ErrorName() string
ErrorName returns error name.
func (UserValidationError) Field ¶
func (e UserValidationError) Field() string
Field function returns field value.
func (UserValidationError) Key ¶
func (e UserValidationError) Key() bool
Key function returns key value.
func (UserValidationError) Reason ¶
func (e UserValidationError) Reason() string
Reason function returns reason value.
type VerificationEmailRequest ¶
type VerificationEmailRequest struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*VerificationEmailRequest) Descriptor
deprecated
func (*VerificationEmailRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerificationEmailRequest.ProtoReflect.Descriptor instead.
func (*VerificationEmailRequest) GetEmail ¶
func (x *VerificationEmailRequest) GetEmail() string
func (*VerificationEmailRequest) MarshalJSON ¶
func (msg *VerificationEmailRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*VerificationEmailRequest) Matches ¶
func (x *VerificationEmailRequest) Matches(y interface{}) bool
func (*VerificationEmailRequest) ProtoMessage ¶
func (*VerificationEmailRequest) ProtoMessage()
func (*VerificationEmailRequest) ProtoReflect ¶
func (x *VerificationEmailRequest) ProtoReflect() protoreflect.Message
func (*VerificationEmailRequest) Reset ¶
func (x *VerificationEmailRequest) Reset()
func (*VerificationEmailRequest) String ¶
func (x *VerificationEmailRequest) String() string
func (*VerificationEmailRequest) UnmarshalJSON ¶
func (msg *VerificationEmailRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*VerificationEmailRequest) Validate ¶
func (m *VerificationEmailRequest) Validate() error
Validate checks the field values on VerificationEmailRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*VerificationEmailRequest) ValidateAll ¶
func (m *VerificationEmailRequest) ValidateAll() error
ValidateAll checks the field values on VerificationEmailRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerificationEmailRequestMultiError, or nil if none found.
type VerificationEmailRequestMultiError ¶
type VerificationEmailRequestMultiError []error
VerificationEmailRequestMultiError is an error wrapping multiple validation errors returned by VerificationEmailRequest.ValidateAll() if the designated constraints aren't met.
func (VerificationEmailRequestMultiError) AllErrors ¶
func (m VerificationEmailRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VerificationEmailRequestMultiError) Error ¶
func (m VerificationEmailRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VerificationEmailRequestValidationError ¶
type VerificationEmailRequestValidationError struct {
// contains filtered or unexported fields
}
VerificationEmailRequestValidationError is the validation error returned by VerificationEmailRequest.Validate if the designated constraints aren't met.
func (VerificationEmailRequestValidationError) Cause ¶
func (e VerificationEmailRequestValidationError) Cause() error
Cause function returns cause value.
func (VerificationEmailRequestValidationError) Error ¶
func (e VerificationEmailRequestValidationError) Error() string
Error satisfies the builtin error interface
func (VerificationEmailRequestValidationError) ErrorName ¶
func (e VerificationEmailRequestValidationError) ErrorName() string
ErrorName returns error name.
func (VerificationEmailRequestValidationError) Field ¶
func (e VerificationEmailRequestValidationError) Field() string
Field function returns field value.
func (VerificationEmailRequestValidationError) Key ¶
func (e VerificationEmailRequestValidationError) Key() bool
Key function returns key value.
func (VerificationEmailRequestValidationError) Reason ¶
func (e VerificationEmailRequestValidationError) Reason() string
Reason function returns reason value.
type VerificationEmailResponse ¶
type VerificationEmailResponse struct {
// contains filtered or unexported fields
}
func (*VerificationEmailResponse) Descriptor
deprecated
func (*VerificationEmailResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerificationEmailResponse.ProtoReflect.Descriptor instead.
func (*VerificationEmailResponse) MarshalJSON ¶
func (msg *VerificationEmailResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*VerificationEmailResponse) ProtoMessage ¶
func (*VerificationEmailResponse) ProtoMessage()
func (*VerificationEmailResponse) ProtoReflect ¶
func (x *VerificationEmailResponse) ProtoReflect() protoreflect.Message
func (*VerificationEmailResponse) Reset ¶
func (x *VerificationEmailResponse) Reset()
func (*VerificationEmailResponse) String ¶
func (x *VerificationEmailResponse) String() string
func (*VerificationEmailResponse) UnmarshalJSON ¶
func (msg *VerificationEmailResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*VerificationEmailResponse) Validate ¶
func (m *VerificationEmailResponse) Validate() error
Validate checks the field values on VerificationEmailResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*VerificationEmailResponse) ValidateAll ¶
func (m *VerificationEmailResponse) ValidateAll() error
ValidateAll checks the field values on VerificationEmailResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerificationEmailResponseMultiError, or nil if none found.
type VerificationEmailResponseMultiError ¶
type VerificationEmailResponseMultiError []error
VerificationEmailResponseMultiError is an error wrapping multiple validation errors returned by VerificationEmailResponse.ValidateAll() if the designated constraints aren't met.
func (VerificationEmailResponseMultiError) AllErrors ¶
func (m VerificationEmailResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VerificationEmailResponseMultiError) Error ¶
func (m VerificationEmailResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VerificationEmailResponseValidationError ¶
type VerificationEmailResponseValidationError struct {
// contains filtered or unexported fields
}
VerificationEmailResponseValidationError is the validation error returned by VerificationEmailResponse.Validate if the designated constraints aren't met.
func (VerificationEmailResponseValidationError) Cause ¶
func (e VerificationEmailResponseValidationError) Cause() error
Cause function returns cause value.
func (VerificationEmailResponseValidationError) Error ¶
func (e VerificationEmailResponseValidationError) Error() string
Error satisfies the builtin error interface
func (VerificationEmailResponseValidationError) ErrorName ¶
func (e VerificationEmailResponseValidationError) ErrorName() string
ErrorName returns error name.
func (VerificationEmailResponseValidationError) Field ¶
func (e VerificationEmailResponseValidationError) Field() string
Field function returns field value.
func (VerificationEmailResponseValidationError) Key ¶
func (e VerificationEmailResponseValidationError) Key() bool
Key function returns key value.
func (VerificationEmailResponseValidationError) Reason ¶
func (e VerificationEmailResponseValidationError) Reason() string
Reason function returns reason value.
type VerificationUsernameRequest ¶
type VerificationUsernameRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
func (*VerificationUsernameRequest) Descriptor
deprecated
func (*VerificationUsernameRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerificationUsernameRequest.ProtoReflect.Descriptor instead.
func (*VerificationUsernameRequest) GetUsername ¶
func (x *VerificationUsernameRequest) GetUsername() string
func (*VerificationUsernameRequest) MarshalJSON ¶
func (msg *VerificationUsernameRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*VerificationUsernameRequest) Matches ¶
func (x *VerificationUsernameRequest) Matches(y interface{}) bool
func (*VerificationUsernameRequest) ProtoMessage ¶
func (*VerificationUsernameRequest) ProtoMessage()
func (*VerificationUsernameRequest) ProtoReflect ¶
func (x *VerificationUsernameRequest) ProtoReflect() protoreflect.Message
func (*VerificationUsernameRequest) Reset ¶
func (x *VerificationUsernameRequest) Reset()
func (*VerificationUsernameRequest) String ¶
func (x *VerificationUsernameRequest) String() string
func (*VerificationUsernameRequest) UnmarshalJSON ¶
func (msg *VerificationUsernameRequest) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*VerificationUsernameRequest) Validate ¶
func (m *VerificationUsernameRequest) Validate() error
Validate checks the field values on VerificationUsernameRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*VerificationUsernameRequest) ValidateAll ¶
func (m *VerificationUsernameRequest) ValidateAll() error
ValidateAll checks the field values on VerificationUsernameRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerificationUsernameRequestMultiError, or nil if none found.
type VerificationUsernameRequestMultiError ¶
type VerificationUsernameRequestMultiError []error
VerificationUsernameRequestMultiError is an error wrapping multiple validation errors returned by VerificationUsernameRequest.ValidateAll() if the designated constraints aren't met.
func (VerificationUsernameRequestMultiError) AllErrors ¶
func (m VerificationUsernameRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VerificationUsernameRequestMultiError) Error ¶
func (m VerificationUsernameRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VerificationUsernameRequestValidationError ¶
type VerificationUsernameRequestValidationError struct {
// contains filtered or unexported fields
}
VerificationUsernameRequestValidationError is the validation error returned by VerificationUsernameRequest.Validate if the designated constraints aren't met.
func (VerificationUsernameRequestValidationError) Cause ¶
func (e VerificationUsernameRequestValidationError) Cause() error
Cause function returns cause value.
func (VerificationUsernameRequestValidationError) Error ¶
func (e VerificationUsernameRequestValidationError) Error() string
Error satisfies the builtin error interface
func (VerificationUsernameRequestValidationError) ErrorName ¶
func (e VerificationUsernameRequestValidationError) ErrorName() string
ErrorName returns error name.
func (VerificationUsernameRequestValidationError) Field ¶
func (e VerificationUsernameRequestValidationError) Field() string
Field function returns field value.
func (VerificationUsernameRequestValidationError) Key ¶
func (e VerificationUsernameRequestValidationError) Key() bool
Key function returns key value.
func (VerificationUsernameRequestValidationError) Reason ¶
func (e VerificationUsernameRequestValidationError) Reason() string
Reason function returns reason value.
type VerificationUsernameResponse ¶
type VerificationUsernameResponse struct {
// contains filtered or unexported fields
}
func (*VerificationUsernameResponse) Descriptor
deprecated
func (*VerificationUsernameResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerificationUsernameResponse.ProtoReflect.Descriptor instead.
func (*VerificationUsernameResponse) MarshalJSON ¶
func (msg *VerificationUsernameResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler
func (*VerificationUsernameResponse) ProtoMessage ¶
func (*VerificationUsernameResponse) ProtoMessage()
func (*VerificationUsernameResponse) ProtoReflect ¶
func (x *VerificationUsernameResponse) ProtoReflect() protoreflect.Message
func (*VerificationUsernameResponse) Reset ¶
func (x *VerificationUsernameResponse) Reset()
func (*VerificationUsernameResponse) String ¶
func (x *VerificationUsernameResponse) String() string
func (*VerificationUsernameResponse) UnmarshalJSON ¶
func (msg *VerificationUsernameResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler
func (*VerificationUsernameResponse) Validate ¶
func (m *VerificationUsernameResponse) Validate() error
Validate checks the field values on VerificationUsernameResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*VerificationUsernameResponse) ValidateAll ¶
func (m *VerificationUsernameResponse) ValidateAll() error
ValidateAll checks the field values on VerificationUsernameResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerificationUsernameResponseMultiError, or nil if none found.
type VerificationUsernameResponseMultiError ¶
type VerificationUsernameResponseMultiError []error
VerificationUsernameResponseMultiError is an error wrapping multiple validation errors returned by VerificationUsernameResponse.ValidateAll() if the designated constraints aren't met.
func (VerificationUsernameResponseMultiError) AllErrors ¶
func (m VerificationUsernameResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VerificationUsernameResponseMultiError) Error ¶
func (m VerificationUsernameResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VerificationUsernameResponseValidationError ¶
type VerificationUsernameResponseValidationError struct {
// contains filtered or unexported fields
}
VerificationUsernameResponseValidationError is the validation error returned by VerificationUsernameResponse.Validate if the designated constraints aren't met.
func (VerificationUsernameResponseValidationError) Cause ¶
func (e VerificationUsernameResponseValidationError) Cause() error
Cause function returns cause value.
func (VerificationUsernameResponseValidationError) Error ¶
func (e VerificationUsernameResponseValidationError) Error() string
Error satisfies the builtin error interface
func (VerificationUsernameResponseValidationError) ErrorName ¶
func (e VerificationUsernameResponseValidationError) ErrorName() string
ErrorName returns error name.
func (VerificationUsernameResponseValidationError) Field ¶
func (e VerificationUsernameResponseValidationError) Field() string
Field function returns field value.
func (VerificationUsernameResponseValidationError) Key ¶
func (e VerificationUsernameResponseValidationError) Key() bool
Key function returns key value.
func (VerificationUsernameResponseValidationError) Reason ¶
func (e VerificationUsernameResponseValidationError) Reason() string
Reason function returns reason value.