Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
- func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type CreateUserCall
- func (*CreateUserCall) Descriptor() ([]byte, []int)deprecated
- func (*CreateUserCall) ProtoMessage()
- func (x *CreateUserCall) ProtoReflect() protoreflect.Message
- func (x *CreateUserCall) Reset()
- func (x *CreateUserCall) String() string
- func (m *CreateUserCall) Validate() error
- func (m *CreateUserCall) ValidateAll() error
- type CreateUserCallMultiError
- type CreateUserCallValidationError
- func (e CreateUserCallValidationError) Cause() error
- func (e CreateUserCallValidationError) Error() string
- func (e CreateUserCallValidationError) ErrorName() string
- func (e CreateUserCallValidationError) Field() string
- func (e CreateUserCallValidationError) Key() bool
- func (e CreateUserCallValidationError) Reason() string
- type CreateUserCall_Request
- func (*CreateUserCall_Request) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserCall_Request) GetEmail() string
- func (x *CreateUserCall_Request) GetFirstName() string
- func (x *CreateUserCall_Request) GetLastName() string
- func (x *CreateUserCall_Request) GetPassword() string
- func (*CreateUserCall_Request) ProtoMessage()
- func (x *CreateUserCall_Request) ProtoReflect() protoreflect.Message
- func (x *CreateUserCall_Request) Reset()
- func (x *CreateUserCall_Request) String() string
- func (m *CreateUserCall_Request) Validate() error
- func (m *CreateUserCall_Request) ValidateAll() error
- type CreateUserCall_RequestMultiError
- type CreateUserCall_RequestValidationError
- func (e CreateUserCall_RequestValidationError) Cause() error
- func (e CreateUserCall_RequestValidationError) Error() string
- func (e CreateUserCall_RequestValidationError) ErrorName() string
- func (e CreateUserCall_RequestValidationError) Field() string
- func (e CreateUserCall_RequestValidationError) Key() bool
- func (e CreateUserCall_RequestValidationError) Reason() string
- type CreateUserCall_Response
- func (*CreateUserCall_Response) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserCall_Response) GetUser() *User
- func (*CreateUserCall_Response) ProtoMessage()
- func (x *CreateUserCall_Response) ProtoReflect() protoreflect.Message
- func (x *CreateUserCall_Response) Reset()
- func (x *CreateUserCall_Response) String() string
- func (m *CreateUserCall_Response) Validate() error
- func (m *CreateUserCall_Response) ValidateAll() error
- type CreateUserCall_ResponseMultiError
- type CreateUserCall_ResponseValidationError
- func (e CreateUserCall_ResponseValidationError) Cause() error
- func (e CreateUserCall_ResponseValidationError) Error() string
- func (e CreateUserCall_ResponseValidationError) ErrorName() string
- func (e CreateUserCall_ResponseValidationError) Field() string
- func (e CreateUserCall_ResponseValidationError) Key() bool
- func (e CreateUserCall_ResponseValidationError) Reason() string
- type DeleteUserCall
- func (*DeleteUserCall) Descriptor() ([]byte, []int)deprecated
- func (*DeleteUserCall) ProtoMessage()
- func (x *DeleteUserCall) ProtoReflect() protoreflect.Message
- func (x *DeleteUserCall) Reset()
- func (x *DeleteUserCall) String() string
- func (m *DeleteUserCall) Validate() error
- func (m *DeleteUserCall) ValidateAll() error
- type DeleteUserCallMultiError
- type DeleteUserCallValidationError
- func (e DeleteUserCallValidationError) Cause() error
- func (e DeleteUserCallValidationError) Error() string
- func (e DeleteUserCallValidationError) ErrorName() string
- func (e DeleteUserCallValidationError) Field() string
- func (e DeleteUserCallValidationError) Key() bool
- func (e DeleteUserCallValidationError) Reason() string
- type DeleteUserCall_Request
- func (*DeleteUserCall_Request) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserCall_Request) GetId() string
- func (*DeleteUserCall_Request) ProtoMessage()
- func (x *DeleteUserCall_Request) ProtoReflect() protoreflect.Message
- func (x *DeleteUserCall_Request) Reset()
- func (x *DeleteUserCall_Request) String() string
- func (m *DeleteUserCall_Request) Validate() error
- func (m *DeleteUserCall_Request) ValidateAll() error
- type DeleteUserCall_RequestMultiError
- type DeleteUserCall_RequestValidationError
- func (e DeleteUserCall_RequestValidationError) Cause() error
- func (e DeleteUserCall_RequestValidationError) Error() string
- func (e DeleteUserCall_RequestValidationError) ErrorName() string
- func (e DeleteUserCall_RequestValidationError) Field() string
- func (e DeleteUserCall_RequestValidationError) Key() bool
- func (e DeleteUserCall_RequestValidationError) Reason() string
- type DeleteUserCall_Response
- func (*DeleteUserCall_Response) Descriptor() ([]byte, []int)deprecated
- func (*DeleteUserCall_Response) ProtoMessage()
- func (x *DeleteUserCall_Response) ProtoReflect() protoreflect.Message
- func (x *DeleteUserCall_Response) Reset()
- func (x *DeleteUserCall_Response) String() string
- func (m *DeleteUserCall_Response) Validate() error
- func (m *DeleteUserCall_Response) ValidateAll() error
- type DeleteUserCall_ResponseMultiError
- type DeleteUserCall_ResponseValidationError
- func (e DeleteUserCall_ResponseValidationError) Cause() error
- func (e DeleteUserCall_ResponseValidationError) Error() string
- func (e DeleteUserCall_ResponseValidationError) ErrorName() string
- func (e DeleteUserCall_ResponseValidationError) Field() string
- func (e DeleteUserCall_ResponseValidationError) Key() bool
- func (e DeleteUserCall_ResponseValidationError) Reason() string
- type GetUserCall
- func (*GetUserCall) Descriptor() ([]byte, []int)deprecated
- func (*GetUserCall) ProtoMessage()
- func (x *GetUserCall) ProtoReflect() protoreflect.Message
- func (x *GetUserCall) Reset()
- func (x *GetUserCall) String() string
- func (m *GetUserCall) Validate() error
- func (m *GetUserCall) ValidateAll() error
- type GetUserCallMultiError
- type GetUserCallValidationError
- func (e GetUserCallValidationError) Cause() error
- func (e GetUserCallValidationError) Error() string
- func (e GetUserCallValidationError) ErrorName() string
- func (e GetUserCallValidationError) Field() string
- func (e GetUserCallValidationError) Key() bool
- func (e GetUserCallValidationError) Reason() string
- type GetUserCall_Request
- func (*GetUserCall_Request) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserCall_Request) GetId() string
- func (*GetUserCall_Request) ProtoMessage()
- func (x *GetUserCall_Request) ProtoReflect() protoreflect.Message
- func (x *GetUserCall_Request) Reset()
- func (x *GetUserCall_Request) String() string
- func (m *GetUserCall_Request) Validate() error
- func (m *GetUserCall_Request) ValidateAll() error
- type GetUserCall_RequestMultiError
- type GetUserCall_RequestValidationError
- func (e GetUserCall_RequestValidationError) Cause() error
- func (e GetUserCall_RequestValidationError) Error() string
- func (e GetUserCall_RequestValidationError) ErrorName() string
- func (e GetUserCall_RequestValidationError) Field() string
- func (e GetUserCall_RequestValidationError) Key() bool
- func (e GetUserCall_RequestValidationError) Reason() string
- type GetUserCall_Response
- func (*GetUserCall_Response) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserCall_Response) GetUser() *User
- func (*GetUserCall_Response) ProtoMessage()
- func (x *GetUserCall_Response) ProtoReflect() protoreflect.Message
- func (x *GetUserCall_Response) Reset()
- func (x *GetUserCall_Response) String() string
- func (m *GetUserCall_Response) Validate() error
- func (m *GetUserCall_Response) ValidateAll() error
- type GetUserCall_ResponseMultiError
- type GetUserCall_ResponseValidationError
- func (e GetUserCall_ResponseValidationError) Cause() error
- func (e GetUserCall_ResponseValidationError) Error() string
- func (e GetUserCall_ResponseValidationError) ErrorName() string
- func (e GetUserCall_ResponseValidationError) Field() string
- func (e GetUserCall_ResponseValidationError) Key() bool
- func (e GetUserCall_ResponseValidationError) Reason() string
- type ListUsersCall
- func (*ListUsersCall) Descriptor() ([]byte, []int)deprecated
- func (*ListUsersCall) ProtoMessage()
- func (x *ListUsersCall) ProtoReflect() protoreflect.Message
- func (x *ListUsersCall) Reset()
- func (x *ListUsersCall) String() string
- func (m *ListUsersCall) Validate() error
- func (m *ListUsersCall) ValidateAll() error
- type ListUsersCallMultiError
- type ListUsersCallValidationError
- func (e ListUsersCallValidationError) Cause() error
- func (e ListUsersCallValidationError) Error() string
- func (e ListUsersCallValidationError) ErrorName() string
- func (e ListUsersCallValidationError) Field() string
- func (e ListUsersCallValidationError) Key() bool
- func (e ListUsersCallValidationError) Reason() string
- type ListUsersCall_Request
- func (*ListUsersCall_Request) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersCall_Request) GetIds() []string
- func (*ListUsersCall_Request) ProtoMessage()
- func (x *ListUsersCall_Request) ProtoReflect() protoreflect.Message
- func (x *ListUsersCall_Request) Reset()
- func (x *ListUsersCall_Request) String() string
- func (m *ListUsersCall_Request) Validate() error
- func (m *ListUsersCall_Request) ValidateAll() error
- type ListUsersCall_RequestMultiError
- type ListUsersCall_RequestValidationError
- func (e ListUsersCall_RequestValidationError) Cause() error
- func (e ListUsersCall_RequestValidationError) Error() string
- func (e ListUsersCall_RequestValidationError) ErrorName() string
- func (e ListUsersCall_RequestValidationError) Field() string
- func (e ListUsersCall_RequestValidationError) Key() bool
- func (e ListUsersCall_RequestValidationError) Reason() string
- type ListUsersCall_Response
- func (*ListUsersCall_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersCall_Response) GetUsers() []*User
- func (*ListUsersCall_Response) ProtoMessage()
- func (x *ListUsersCall_Response) ProtoReflect() protoreflect.Message
- func (x *ListUsersCall_Response) Reset()
- func (x *ListUsersCall_Response) String() string
- func (m *ListUsersCall_Response) Validate() error
- func (m *ListUsersCall_Response) ValidateAll() error
- type ListUsersCall_ResponseMultiError
- type ListUsersCall_ResponseValidationError
- func (e ListUsersCall_ResponseValidationError) Cause() error
- func (e ListUsersCall_ResponseValidationError) Error() string
- func (e ListUsersCall_ResponseValidationError) ErrorName() string
- func (e ListUsersCall_ResponseValidationError) Field() string
- func (e ListUsersCall_ResponseValidationError) Key() bool
- func (e ListUsersCall_ResponseValidationError) Reason() string
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserCall_Request) (*CreateUserCall_Response, error)
- func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserCall_Request) (*DeleteUserCall_Response, error)
- func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserCall_Request) (*GetUserCall_Response, error)
- func (UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersCall_Request) (*ListUsersCall_Response, error)
- func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserCall_Request) (*UpdateUserCall_Response, error)
- type UnsafeUserServiceServer
- type UpdateUserCall
- func (*UpdateUserCall) Descriptor() ([]byte, []int)deprecated
- func (*UpdateUserCall) ProtoMessage()
- func (x *UpdateUserCall) ProtoReflect() protoreflect.Message
- func (x *UpdateUserCall) Reset()
- func (x *UpdateUserCall) String() string
- func (m *UpdateUserCall) Validate() error
- func (m *UpdateUserCall) ValidateAll() error
- type UpdateUserCallMultiError
- type UpdateUserCallValidationError
- func (e UpdateUserCallValidationError) Cause() error
- func (e UpdateUserCallValidationError) Error() string
- func (e UpdateUserCallValidationError) ErrorName() string
- func (e UpdateUserCallValidationError) Field() string
- func (e UpdateUserCallValidationError) Key() bool
- func (e UpdateUserCallValidationError) Reason() string
- type UpdateUserCall_Request
- func (*UpdateUserCall_Request) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserCall_Request) GetEmail() string
- func (x *UpdateUserCall_Request) GetFirstName() string
- func (x *UpdateUserCall_Request) GetId() string
- func (x *UpdateUserCall_Request) GetLastName() string
- func (*UpdateUserCall_Request) ProtoMessage()
- func (x *UpdateUserCall_Request) ProtoReflect() protoreflect.Message
- func (x *UpdateUserCall_Request) Reset()
- func (x *UpdateUserCall_Request) String() string
- func (m *UpdateUserCall_Request) Validate() error
- func (m *UpdateUserCall_Request) ValidateAll() error
- type UpdateUserCall_RequestMultiError
- type UpdateUserCall_RequestValidationError
- func (e UpdateUserCall_RequestValidationError) Cause() error
- func (e UpdateUserCall_RequestValidationError) Error() string
- func (e UpdateUserCall_RequestValidationError) ErrorName() string
- func (e UpdateUserCall_RequestValidationError) Field() string
- func (e UpdateUserCall_RequestValidationError) Key() bool
- func (e UpdateUserCall_RequestValidationError) Reason() string
- type UpdateUserCall_Response
- func (*UpdateUserCall_Response) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserCall_Response) GetUser() *User
- func (*UpdateUserCall_Response) ProtoMessage()
- func (x *UpdateUserCall_Response) ProtoReflect() protoreflect.Message
- func (x *UpdateUserCall_Response) Reset()
- func (x *UpdateUserCall_Response) String() string
- func (m *UpdateUserCall_Response) Validate() error
- func (m *UpdateUserCall_Response) ValidateAll() error
- type UpdateUserCall_ResponseMultiError
- type UpdateUserCall_ResponseValidationError
- func (e UpdateUserCall_ResponseValidationError) Cause() error
- func (e UpdateUserCall_ResponseValidationError) Error() string
- func (e UpdateUserCall_ResponseValidationError) ErrorName() string
- func (e UpdateUserCall_ResponseValidationError) Field() string
- func (e UpdateUserCall_ResponseValidationError) Key() bool
- func (e UpdateUserCall_ResponseValidationError) Reason() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetCreatedAt() *timestamppb.Timestamp
- func (x *User) GetEmail() string
- func (x *User) GetFirstName() string
- func (x *User) GetId() string
- func (x *User) GetLastName() string
- func (x *User) GetUpdatedAt() *timestamppb.Timestamp
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- func (m *User) Validate() error
- func (m *User) ValidateAll() error
- type UserMultiError
- type UserServiceClient
- type UserServiceServer
- type UserValidationError
Constants ¶
const ( UserService_ListUsers_FullMethodName = "/user.v1.UserService/ListUsers" UserService_CreateUser_FullMethodName = "/user.v1.UserService/CreateUser" UserService_GetUser_FullMethodName = "/user.v1.UserService/GetUser" UserService_UpdateUser_FullMethodName = "/user.v1.UserService/UpdateUser" UserService_DeleteUser_FullMethodName = "/user.v1.UserService/DeleteUser" )
Variables ¶
var File_user_v1_user_proto protoreflect.FileDescriptor
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "user.v1.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListUsers", Handler: _UserService_ListUsers_Handler, }, { MethodName: "CreateUser", Handler: _UserService_CreateUser_Handler, }, { MethodName: "GetUser", Handler: _UserService_GetUser_Handler, }, { MethodName: "UpdateUser", Handler: _UserService_UpdateUser_Handler, }, { MethodName: "DeleteUser", Handler: _UserService_DeleteUser_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user/v1/user.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUserServiceHandler ¶
func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterUserServiceHandler registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterUserServiceHandlerClient ¶
func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error
RegisterUserServiceHandlerClient registers the http handlers for service UserService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UserServiceClient" to call the correct interceptors.
func RegisterUserServiceHandlerFromEndpoint ¶
func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterUserServiceHandlerServer ¶
func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error
RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". UnaryRPC :call UserServiceServer 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 RegisterUserServiceHandlerFromEndpoint instead.
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type CreateUserCall ¶
type CreateUserCall struct {
// contains filtered or unexported fields
}
func (*CreateUserCall) Descriptor
deprecated
func (*CreateUserCall) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserCall.ProtoReflect.Descriptor instead.
func (*CreateUserCall) ProtoMessage ¶
func (*CreateUserCall) ProtoMessage()
func (*CreateUserCall) ProtoReflect ¶
func (x *CreateUserCall) ProtoReflect() protoreflect.Message
func (*CreateUserCall) Reset ¶
func (x *CreateUserCall) Reset()
func (*CreateUserCall) String ¶
func (x *CreateUserCall) String() string
func (*CreateUserCall) Validate ¶
func (m *CreateUserCall) Validate() error
Validate checks the field values on CreateUserCall 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 (*CreateUserCall) ValidateAll ¶
func (m *CreateUserCall) ValidateAll() error
ValidateAll checks the field values on CreateUserCall 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 CreateUserCallMultiError, or nil if none found.
type CreateUserCallMultiError ¶
type CreateUserCallMultiError []error
CreateUserCallMultiError is an error wrapping multiple validation errors returned by CreateUserCall.ValidateAll() if the designated constraints aren't met.
func (CreateUserCallMultiError) AllErrors ¶
func (m CreateUserCallMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserCallMultiError) Error ¶
func (m CreateUserCallMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserCallValidationError ¶
type CreateUserCallValidationError struct {
// contains filtered or unexported fields
}
CreateUserCallValidationError is the validation error returned by CreateUserCall.Validate if the designated constraints aren't met.
func (CreateUserCallValidationError) Cause ¶
func (e CreateUserCallValidationError) Cause() error
Cause function returns cause value.
func (CreateUserCallValidationError) Error ¶
func (e CreateUserCallValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserCallValidationError) ErrorName ¶
func (e CreateUserCallValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserCallValidationError) Field ¶
func (e CreateUserCallValidationError) Field() string
Field function returns field value.
func (CreateUserCallValidationError) Key ¶
func (e CreateUserCallValidationError) Key() bool
Key function returns key value.
func (CreateUserCallValidationError) Reason ¶
func (e CreateUserCallValidationError) Reason() string
Reason function returns reason value.
type CreateUserCall_Request ¶
type CreateUserCall_Request struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` FirstName string `protobuf:"bytes,2,opt,name=first_name,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,3,opt,name=last_name,proto3" json:"last_name,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CreateUserCall_Request) Descriptor
deprecated
func (*CreateUserCall_Request) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserCall_Request.ProtoReflect.Descriptor instead.
func (*CreateUserCall_Request) GetEmail ¶
func (x *CreateUserCall_Request) GetEmail() string
func (*CreateUserCall_Request) GetFirstName ¶
func (x *CreateUserCall_Request) GetFirstName() string
func (*CreateUserCall_Request) GetLastName ¶
func (x *CreateUserCall_Request) GetLastName() string
func (*CreateUserCall_Request) GetPassword ¶
func (x *CreateUserCall_Request) GetPassword() string
func (*CreateUserCall_Request) ProtoMessage ¶
func (*CreateUserCall_Request) ProtoMessage()
func (*CreateUserCall_Request) ProtoReflect ¶
func (x *CreateUserCall_Request) ProtoReflect() protoreflect.Message
func (*CreateUserCall_Request) Reset ¶
func (x *CreateUserCall_Request) Reset()
func (*CreateUserCall_Request) String ¶
func (x *CreateUserCall_Request) String() string
func (*CreateUserCall_Request) Validate ¶
func (m *CreateUserCall_Request) Validate() error
Validate checks the field values on CreateUserCall_Request 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 (*CreateUserCall_Request) ValidateAll ¶
func (m *CreateUserCall_Request) ValidateAll() error
ValidateAll checks the field values on CreateUserCall_Request 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 CreateUserCall_RequestMultiError, or nil if none found.
type CreateUserCall_RequestMultiError ¶
type CreateUserCall_RequestMultiError []error
CreateUserCall_RequestMultiError is an error wrapping multiple validation errors returned by CreateUserCall_Request.ValidateAll() if the designated constraints aren't met.
func (CreateUserCall_RequestMultiError) AllErrors ¶
func (m CreateUserCall_RequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserCall_RequestMultiError) Error ¶
func (m CreateUserCall_RequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserCall_RequestValidationError ¶
type CreateUserCall_RequestValidationError struct {
// contains filtered or unexported fields
}
CreateUserCall_RequestValidationError is the validation error returned by CreateUserCall_Request.Validate if the designated constraints aren't met.
func (CreateUserCall_RequestValidationError) Cause ¶
func (e CreateUserCall_RequestValidationError) Cause() error
Cause function returns cause value.
func (CreateUserCall_RequestValidationError) Error ¶
func (e CreateUserCall_RequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserCall_RequestValidationError) ErrorName ¶
func (e CreateUserCall_RequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserCall_RequestValidationError) Field ¶
func (e CreateUserCall_RequestValidationError) Field() string
Field function returns field value.
func (CreateUserCall_RequestValidationError) Key ¶
func (e CreateUserCall_RequestValidationError) Key() bool
Key function returns key value.
func (CreateUserCall_RequestValidationError) Reason ¶
func (e CreateUserCall_RequestValidationError) Reason() string
Reason function returns reason value.
type CreateUserCall_Response ¶
type CreateUserCall_Response struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*CreateUserCall_Response) Descriptor
deprecated
func (*CreateUserCall_Response) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserCall_Response.ProtoReflect.Descriptor instead.
func (*CreateUserCall_Response) GetUser ¶
func (x *CreateUserCall_Response) GetUser() *User
func (*CreateUserCall_Response) ProtoMessage ¶
func (*CreateUserCall_Response) ProtoMessage()
func (*CreateUserCall_Response) ProtoReflect ¶
func (x *CreateUserCall_Response) ProtoReflect() protoreflect.Message
func (*CreateUserCall_Response) Reset ¶
func (x *CreateUserCall_Response) Reset()
func (*CreateUserCall_Response) String ¶
func (x *CreateUserCall_Response) String() string
func (*CreateUserCall_Response) Validate ¶
func (m *CreateUserCall_Response) Validate() error
Validate checks the field values on CreateUserCall_Response 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 (*CreateUserCall_Response) ValidateAll ¶
func (m *CreateUserCall_Response) ValidateAll() error
ValidateAll checks the field values on CreateUserCall_Response 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 CreateUserCall_ResponseMultiError, or nil if none found.
type CreateUserCall_ResponseMultiError ¶
type CreateUserCall_ResponseMultiError []error
CreateUserCall_ResponseMultiError is an error wrapping multiple validation errors returned by CreateUserCall_Response.ValidateAll() if the designated constraints aren't met.
func (CreateUserCall_ResponseMultiError) AllErrors ¶
func (m CreateUserCall_ResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateUserCall_ResponseMultiError) Error ¶
func (m CreateUserCall_ResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateUserCall_ResponseValidationError ¶
type CreateUserCall_ResponseValidationError struct {
// contains filtered or unexported fields
}
CreateUserCall_ResponseValidationError is the validation error returned by CreateUserCall_Response.Validate if the designated constraints aren't met.
func (CreateUserCall_ResponseValidationError) Cause ¶
func (e CreateUserCall_ResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateUserCall_ResponseValidationError) Error ¶
func (e CreateUserCall_ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateUserCall_ResponseValidationError) ErrorName ¶
func (e CreateUserCall_ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateUserCall_ResponseValidationError) Field ¶
func (e CreateUserCall_ResponseValidationError) Field() string
Field function returns field value.
func (CreateUserCall_ResponseValidationError) Key ¶
func (e CreateUserCall_ResponseValidationError) Key() bool
Key function returns key value.
func (CreateUserCall_ResponseValidationError) Reason ¶
func (e CreateUserCall_ResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteUserCall ¶
type DeleteUserCall struct {
// contains filtered or unexported fields
}
func (*DeleteUserCall) Descriptor
deprecated
func (*DeleteUserCall) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserCall.ProtoReflect.Descriptor instead.
func (*DeleteUserCall) ProtoMessage ¶
func (*DeleteUserCall) ProtoMessage()
func (*DeleteUserCall) ProtoReflect ¶
func (x *DeleteUserCall) ProtoReflect() protoreflect.Message
func (*DeleteUserCall) Reset ¶
func (x *DeleteUserCall) Reset()
func (*DeleteUserCall) String ¶
func (x *DeleteUserCall) String() string
func (*DeleteUserCall) Validate ¶
func (m *DeleteUserCall) Validate() error
Validate checks the field values on DeleteUserCall 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 (*DeleteUserCall) ValidateAll ¶
func (m *DeleteUserCall) ValidateAll() error
ValidateAll checks the field values on DeleteUserCall 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 DeleteUserCallMultiError, or nil if none found.
type DeleteUserCallMultiError ¶
type DeleteUserCallMultiError []error
DeleteUserCallMultiError is an error wrapping multiple validation errors returned by DeleteUserCall.ValidateAll() if the designated constraints aren't met.
func (DeleteUserCallMultiError) AllErrors ¶
func (m DeleteUserCallMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserCallMultiError) Error ¶
func (m DeleteUserCallMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserCallValidationError ¶
type DeleteUserCallValidationError struct {
// contains filtered or unexported fields
}
DeleteUserCallValidationError is the validation error returned by DeleteUserCall.Validate if the designated constraints aren't met.
func (DeleteUserCallValidationError) Cause ¶
func (e DeleteUserCallValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserCallValidationError) Error ¶
func (e DeleteUserCallValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserCallValidationError) ErrorName ¶
func (e DeleteUserCallValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserCallValidationError) Field ¶
func (e DeleteUserCallValidationError) Field() string
Field function returns field value.
func (DeleteUserCallValidationError) Key ¶
func (e DeleteUserCallValidationError) Key() bool
Key function returns key value.
func (DeleteUserCallValidationError) Reason ¶
func (e DeleteUserCallValidationError) Reason() string
Reason function returns reason value.
type DeleteUserCall_Request ¶
type DeleteUserCall_Request struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserCall_Request) Descriptor
deprecated
func (*DeleteUserCall_Request) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserCall_Request.ProtoReflect.Descriptor instead.
func (*DeleteUserCall_Request) GetId ¶
func (x *DeleteUserCall_Request) GetId() string
func (*DeleteUserCall_Request) ProtoMessage ¶
func (*DeleteUserCall_Request) ProtoMessage()
func (*DeleteUserCall_Request) ProtoReflect ¶
func (x *DeleteUserCall_Request) ProtoReflect() protoreflect.Message
func (*DeleteUserCall_Request) Reset ¶
func (x *DeleteUserCall_Request) Reset()
func (*DeleteUserCall_Request) String ¶
func (x *DeleteUserCall_Request) String() string
func (*DeleteUserCall_Request) Validate ¶
func (m *DeleteUserCall_Request) Validate() error
Validate checks the field values on DeleteUserCall_Request 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 (*DeleteUserCall_Request) ValidateAll ¶
func (m *DeleteUserCall_Request) ValidateAll() error
ValidateAll checks the field values on DeleteUserCall_Request 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 DeleteUserCall_RequestMultiError, or nil if none found.
type DeleteUserCall_RequestMultiError ¶
type DeleteUserCall_RequestMultiError []error
DeleteUserCall_RequestMultiError is an error wrapping multiple validation errors returned by DeleteUserCall_Request.ValidateAll() if the designated constraints aren't met.
func (DeleteUserCall_RequestMultiError) AllErrors ¶
func (m DeleteUserCall_RequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserCall_RequestMultiError) Error ¶
func (m DeleteUserCall_RequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserCall_RequestValidationError ¶
type DeleteUserCall_RequestValidationError struct {
// contains filtered or unexported fields
}
DeleteUserCall_RequestValidationError is the validation error returned by DeleteUserCall_Request.Validate if the designated constraints aren't met.
func (DeleteUserCall_RequestValidationError) Cause ¶
func (e DeleteUserCall_RequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserCall_RequestValidationError) Error ¶
func (e DeleteUserCall_RequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserCall_RequestValidationError) ErrorName ¶
func (e DeleteUserCall_RequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserCall_RequestValidationError) Field ¶
func (e DeleteUserCall_RequestValidationError) Field() string
Field function returns field value.
func (DeleteUserCall_RequestValidationError) Key ¶
func (e DeleteUserCall_RequestValidationError) Key() bool
Key function returns key value.
func (DeleteUserCall_RequestValidationError) Reason ¶
func (e DeleteUserCall_RequestValidationError) Reason() string
Reason function returns reason value.
type DeleteUserCall_Response ¶
type DeleteUserCall_Response struct {
// contains filtered or unexported fields
}
func (*DeleteUserCall_Response) Descriptor
deprecated
func (*DeleteUserCall_Response) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserCall_Response.ProtoReflect.Descriptor instead.
func (*DeleteUserCall_Response) ProtoMessage ¶
func (*DeleteUserCall_Response) ProtoMessage()
func (*DeleteUserCall_Response) ProtoReflect ¶
func (x *DeleteUserCall_Response) ProtoReflect() protoreflect.Message
func (*DeleteUserCall_Response) Reset ¶
func (x *DeleteUserCall_Response) Reset()
func (*DeleteUserCall_Response) String ¶
func (x *DeleteUserCall_Response) String() string
func (*DeleteUserCall_Response) Validate ¶
func (m *DeleteUserCall_Response) Validate() error
Validate checks the field values on DeleteUserCall_Response 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 (*DeleteUserCall_Response) ValidateAll ¶
func (m *DeleteUserCall_Response) ValidateAll() error
ValidateAll checks the field values on DeleteUserCall_Response 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 DeleteUserCall_ResponseMultiError, or nil if none found.
type DeleteUserCall_ResponseMultiError ¶
type DeleteUserCall_ResponseMultiError []error
DeleteUserCall_ResponseMultiError is an error wrapping multiple validation errors returned by DeleteUserCall_Response.ValidateAll() if the designated constraints aren't met.
func (DeleteUserCall_ResponseMultiError) AllErrors ¶
func (m DeleteUserCall_ResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteUserCall_ResponseMultiError) Error ¶
func (m DeleteUserCall_ResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteUserCall_ResponseValidationError ¶
type DeleteUserCall_ResponseValidationError struct {
// contains filtered or unexported fields
}
DeleteUserCall_ResponseValidationError is the validation error returned by DeleteUserCall_Response.Validate if the designated constraints aren't met.
func (DeleteUserCall_ResponseValidationError) Cause ¶
func (e DeleteUserCall_ResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteUserCall_ResponseValidationError) Error ¶
func (e DeleteUserCall_ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteUserCall_ResponseValidationError) ErrorName ¶
func (e DeleteUserCall_ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteUserCall_ResponseValidationError) Field ¶
func (e DeleteUserCall_ResponseValidationError) Field() string
Field function returns field value.
func (DeleteUserCall_ResponseValidationError) Key ¶
func (e DeleteUserCall_ResponseValidationError) Key() bool
Key function returns key value.
func (DeleteUserCall_ResponseValidationError) Reason ¶
func (e DeleteUserCall_ResponseValidationError) Reason() string
Reason function returns reason value.
type GetUserCall ¶
type GetUserCall struct {
// contains filtered or unexported fields
}
func (*GetUserCall) Descriptor
deprecated
func (*GetUserCall) Descriptor() ([]byte, []int)
Deprecated: Use GetUserCall.ProtoReflect.Descriptor instead.
func (*GetUserCall) ProtoMessage ¶
func (*GetUserCall) ProtoMessage()
func (*GetUserCall) ProtoReflect ¶
func (x *GetUserCall) ProtoReflect() protoreflect.Message
func (*GetUserCall) Reset ¶
func (x *GetUserCall) Reset()
func (*GetUserCall) String ¶
func (x *GetUserCall) String() string
func (*GetUserCall) Validate ¶
func (m *GetUserCall) Validate() error
Validate checks the field values on GetUserCall 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 (*GetUserCall) ValidateAll ¶
func (m *GetUserCall) ValidateAll() error
ValidateAll checks the field values on GetUserCall 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 GetUserCallMultiError, or nil if none found.
type GetUserCallMultiError ¶
type GetUserCallMultiError []error
GetUserCallMultiError is an error wrapping multiple validation errors returned by GetUserCall.ValidateAll() if the designated constraints aren't met.
func (GetUserCallMultiError) AllErrors ¶
func (m GetUserCallMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserCallMultiError) Error ¶
func (m GetUserCallMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserCallValidationError ¶
type GetUserCallValidationError struct {
// contains filtered or unexported fields
}
GetUserCallValidationError is the validation error returned by GetUserCall.Validate if the designated constraints aren't met.
func (GetUserCallValidationError) Cause ¶
func (e GetUserCallValidationError) Cause() error
Cause function returns cause value.
func (GetUserCallValidationError) Error ¶
func (e GetUserCallValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserCallValidationError) ErrorName ¶
func (e GetUserCallValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserCallValidationError) Field ¶
func (e GetUserCallValidationError) Field() string
Field function returns field value.
func (GetUserCallValidationError) Key ¶
func (e GetUserCallValidationError) Key() bool
Key function returns key value.
func (GetUserCallValidationError) Reason ¶
func (e GetUserCallValidationError) Reason() string
Reason function returns reason value.
type GetUserCall_Request ¶
type GetUserCall_Request struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserCall_Request) Descriptor
deprecated
func (*GetUserCall_Request) Descriptor() ([]byte, []int)
Deprecated: Use GetUserCall_Request.ProtoReflect.Descriptor instead.
func (*GetUserCall_Request) GetId ¶
func (x *GetUserCall_Request) GetId() string
func (*GetUserCall_Request) ProtoMessage ¶
func (*GetUserCall_Request) ProtoMessage()
func (*GetUserCall_Request) ProtoReflect ¶
func (x *GetUserCall_Request) ProtoReflect() protoreflect.Message
func (*GetUserCall_Request) Reset ¶
func (x *GetUserCall_Request) Reset()
func (*GetUserCall_Request) String ¶
func (x *GetUserCall_Request) String() string
func (*GetUserCall_Request) Validate ¶
func (m *GetUserCall_Request) Validate() error
Validate checks the field values on GetUserCall_Request 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 (*GetUserCall_Request) ValidateAll ¶
func (m *GetUserCall_Request) ValidateAll() error
ValidateAll checks the field values on GetUserCall_Request 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 GetUserCall_RequestMultiError, or nil if none found.
type GetUserCall_RequestMultiError ¶
type GetUserCall_RequestMultiError []error
GetUserCall_RequestMultiError is an error wrapping multiple validation errors returned by GetUserCall_Request.ValidateAll() if the designated constraints aren't met.
func (GetUserCall_RequestMultiError) AllErrors ¶
func (m GetUserCall_RequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserCall_RequestMultiError) Error ¶
func (m GetUserCall_RequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserCall_RequestValidationError ¶
type GetUserCall_RequestValidationError struct {
// contains filtered or unexported fields
}
GetUserCall_RequestValidationError is the validation error returned by GetUserCall_Request.Validate if the designated constraints aren't met.
func (GetUserCall_RequestValidationError) Cause ¶
func (e GetUserCall_RequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserCall_RequestValidationError) Error ¶
func (e GetUserCall_RequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserCall_RequestValidationError) ErrorName ¶
func (e GetUserCall_RequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserCall_RequestValidationError) Field ¶
func (e GetUserCall_RequestValidationError) Field() string
Field function returns field value.
func (GetUserCall_RequestValidationError) Key ¶
func (e GetUserCall_RequestValidationError) Key() bool
Key function returns key value.
func (GetUserCall_RequestValidationError) Reason ¶
func (e GetUserCall_RequestValidationError) Reason() string
Reason function returns reason value.
type GetUserCall_Response ¶
type GetUserCall_Response struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserCall_Response) Descriptor
deprecated
func (*GetUserCall_Response) Descriptor() ([]byte, []int)
Deprecated: Use GetUserCall_Response.ProtoReflect.Descriptor instead.
func (*GetUserCall_Response) GetUser ¶
func (x *GetUserCall_Response) GetUser() *User
func (*GetUserCall_Response) ProtoMessage ¶
func (*GetUserCall_Response) ProtoMessage()
func (*GetUserCall_Response) ProtoReflect ¶
func (x *GetUserCall_Response) ProtoReflect() protoreflect.Message
func (*GetUserCall_Response) Reset ¶
func (x *GetUserCall_Response) Reset()
func (*GetUserCall_Response) String ¶
func (x *GetUserCall_Response) String() string
func (*GetUserCall_Response) Validate ¶
func (m *GetUserCall_Response) Validate() error
Validate checks the field values on GetUserCall_Response 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 (*GetUserCall_Response) ValidateAll ¶
func (m *GetUserCall_Response) ValidateAll() error
ValidateAll checks the field values on GetUserCall_Response 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 GetUserCall_ResponseMultiError, or nil if none found.
type GetUserCall_ResponseMultiError ¶
type GetUserCall_ResponseMultiError []error
GetUserCall_ResponseMultiError is an error wrapping multiple validation errors returned by GetUserCall_Response.ValidateAll() if the designated constraints aren't met.
func (GetUserCall_ResponseMultiError) AllErrors ¶
func (m GetUserCall_ResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserCall_ResponseMultiError) Error ¶
func (m GetUserCall_ResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserCall_ResponseValidationError ¶
type GetUserCall_ResponseValidationError struct {
// contains filtered or unexported fields
}
GetUserCall_ResponseValidationError is the validation error returned by GetUserCall_Response.Validate if the designated constraints aren't met.
func (GetUserCall_ResponseValidationError) Cause ¶
func (e GetUserCall_ResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUserCall_ResponseValidationError) Error ¶
func (e GetUserCall_ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserCall_ResponseValidationError) ErrorName ¶
func (e GetUserCall_ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserCall_ResponseValidationError) Field ¶
func (e GetUserCall_ResponseValidationError) Field() string
Field function returns field value.
func (GetUserCall_ResponseValidationError) Key ¶
func (e GetUserCall_ResponseValidationError) Key() bool
Key function returns key value.
func (GetUserCall_ResponseValidationError) Reason ¶
func (e GetUserCall_ResponseValidationError) Reason() string
Reason function returns reason value.
type ListUsersCall ¶
type ListUsersCall struct {
// contains filtered or unexported fields
}
func (*ListUsersCall) Descriptor
deprecated
func (*ListUsersCall) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersCall.ProtoReflect.Descriptor instead.
func (*ListUsersCall) ProtoMessage ¶
func (*ListUsersCall) ProtoMessage()
func (*ListUsersCall) ProtoReflect ¶
func (x *ListUsersCall) ProtoReflect() protoreflect.Message
func (*ListUsersCall) Reset ¶
func (x *ListUsersCall) Reset()
func (*ListUsersCall) String ¶
func (x *ListUsersCall) String() string
func (*ListUsersCall) Validate ¶
func (m *ListUsersCall) Validate() error
Validate checks the field values on ListUsersCall 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 (*ListUsersCall) ValidateAll ¶
func (m *ListUsersCall) ValidateAll() error
ValidateAll checks the field values on ListUsersCall 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 ListUsersCallMultiError, or nil if none found.
type ListUsersCallMultiError ¶
type ListUsersCallMultiError []error
ListUsersCallMultiError is an error wrapping multiple validation errors returned by ListUsersCall.ValidateAll() if the designated constraints aren't met.
func (ListUsersCallMultiError) AllErrors ¶
func (m ListUsersCallMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUsersCallMultiError) Error ¶
func (m ListUsersCallMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUsersCallValidationError ¶
type ListUsersCallValidationError struct {
// contains filtered or unexported fields
}
ListUsersCallValidationError is the validation error returned by ListUsersCall.Validate if the designated constraints aren't met.
func (ListUsersCallValidationError) Cause ¶
func (e ListUsersCallValidationError) Cause() error
Cause function returns cause value.
func (ListUsersCallValidationError) Error ¶
func (e ListUsersCallValidationError) Error() string
Error satisfies the builtin error interface
func (ListUsersCallValidationError) ErrorName ¶
func (e ListUsersCallValidationError) ErrorName() string
ErrorName returns error name.
func (ListUsersCallValidationError) Field ¶
func (e ListUsersCallValidationError) Field() string
Field function returns field value.
func (ListUsersCallValidationError) Key ¶
func (e ListUsersCallValidationError) Key() bool
Key function returns key value.
func (ListUsersCallValidationError) Reason ¶
func (e ListUsersCallValidationError) Reason() string
Reason function returns reason value.
type ListUsersCall_Request ¶
type ListUsersCall_Request struct { Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` // contains filtered or unexported fields }
func (*ListUsersCall_Request) Descriptor
deprecated
func (*ListUsersCall_Request) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersCall_Request.ProtoReflect.Descriptor instead.
func (*ListUsersCall_Request) GetIds ¶
func (x *ListUsersCall_Request) GetIds() []string
func (*ListUsersCall_Request) ProtoMessage ¶
func (*ListUsersCall_Request) ProtoMessage()
func (*ListUsersCall_Request) ProtoReflect ¶
func (x *ListUsersCall_Request) ProtoReflect() protoreflect.Message
func (*ListUsersCall_Request) Reset ¶
func (x *ListUsersCall_Request) Reset()
func (*ListUsersCall_Request) String ¶
func (x *ListUsersCall_Request) String() string
func (*ListUsersCall_Request) Validate ¶
func (m *ListUsersCall_Request) Validate() error
Validate checks the field values on ListUsersCall_Request 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 (*ListUsersCall_Request) ValidateAll ¶
func (m *ListUsersCall_Request) ValidateAll() error
ValidateAll checks the field values on ListUsersCall_Request 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 ListUsersCall_RequestMultiError, or nil if none found.
type ListUsersCall_RequestMultiError ¶
type ListUsersCall_RequestMultiError []error
ListUsersCall_RequestMultiError is an error wrapping multiple validation errors returned by ListUsersCall_Request.ValidateAll() if the designated constraints aren't met.
func (ListUsersCall_RequestMultiError) AllErrors ¶
func (m ListUsersCall_RequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUsersCall_RequestMultiError) Error ¶
func (m ListUsersCall_RequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUsersCall_RequestValidationError ¶
type ListUsersCall_RequestValidationError struct {
// contains filtered or unexported fields
}
ListUsersCall_RequestValidationError is the validation error returned by ListUsersCall_Request.Validate if the designated constraints aren't met.
func (ListUsersCall_RequestValidationError) Cause ¶
func (e ListUsersCall_RequestValidationError) Cause() error
Cause function returns cause value.
func (ListUsersCall_RequestValidationError) Error ¶
func (e ListUsersCall_RequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListUsersCall_RequestValidationError) ErrorName ¶
func (e ListUsersCall_RequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListUsersCall_RequestValidationError) Field ¶
func (e ListUsersCall_RequestValidationError) Field() string
Field function returns field value.
func (ListUsersCall_RequestValidationError) Key ¶
func (e ListUsersCall_RequestValidationError) Key() bool
Key function returns key value.
func (ListUsersCall_RequestValidationError) Reason ¶
func (e ListUsersCall_RequestValidationError) Reason() string
Reason function returns reason value.
type ListUsersCall_Response ¶
type ListUsersCall_Response struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*ListUsersCall_Response) Descriptor
deprecated
func (*ListUsersCall_Response) Descriptor() ([]byte, []int)
Deprecated: Use ListUsersCall_Response.ProtoReflect.Descriptor instead.
func (*ListUsersCall_Response) GetUsers ¶
func (x *ListUsersCall_Response) GetUsers() []*User
func (*ListUsersCall_Response) ProtoMessage ¶
func (*ListUsersCall_Response) ProtoMessage()
func (*ListUsersCall_Response) ProtoReflect ¶
func (x *ListUsersCall_Response) ProtoReflect() protoreflect.Message
func (*ListUsersCall_Response) Reset ¶
func (x *ListUsersCall_Response) Reset()
func (*ListUsersCall_Response) String ¶
func (x *ListUsersCall_Response) String() string
func (*ListUsersCall_Response) Validate ¶
func (m *ListUsersCall_Response) Validate() error
Validate checks the field values on ListUsersCall_Response 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 (*ListUsersCall_Response) ValidateAll ¶
func (m *ListUsersCall_Response) ValidateAll() error
ValidateAll checks the field values on ListUsersCall_Response 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 ListUsersCall_ResponseMultiError, or nil if none found.
type ListUsersCall_ResponseMultiError ¶
type ListUsersCall_ResponseMultiError []error
ListUsersCall_ResponseMultiError is an error wrapping multiple validation errors returned by ListUsersCall_Response.ValidateAll() if the designated constraints aren't met.
func (ListUsersCall_ResponseMultiError) AllErrors ¶
func (m ListUsersCall_ResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListUsersCall_ResponseMultiError) Error ¶
func (m ListUsersCall_ResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListUsersCall_ResponseValidationError ¶
type ListUsersCall_ResponseValidationError struct {
// contains filtered or unexported fields
}
ListUsersCall_ResponseValidationError is the validation error returned by ListUsersCall_Response.Validate if the designated constraints aren't met.
func (ListUsersCall_ResponseValidationError) Cause ¶
func (e ListUsersCall_ResponseValidationError) Cause() error
Cause function returns cause value.
func (ListUsersCall_ResponseValidationError) Error ¶
func (e ListUsersCall_ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListUsersCall_ResponseValidationError) ErrorName ¶
func (e ListUsersCall_ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListUsersCall_ResponseValidationError) Field ¶
func (e ListUsersCall_ResponseValidationError) Field() string
Field function returns field value.
func (ListUsersCall_ResponseValidationError) Key ¶
func (e ListUsersCall_ResponseValidationError) Key() bool
Key function returns key value.
func (ListUsersCall_ResponseValidationError) Reason ¶
func (e ListUsersCall_ResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) CreateUser ¶
func (UnimplementedUserServiceServer) CreateUser(context.Context, *CreateUserCall_Request) (*CreateUserCall_Response, error)
func (UnimplementedUserServiceServer) DeleteUser ¶
func (UnimplementedUserServiceServer) DeleteUser(context.Context, *DeleteUserCall_Request) (*DeleteUserCall_Response, error)
func (UnimplementedUserServiceServer) GetUser ¶
func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserCall_Request) (*GetUserCall_Response, error)
func (UnimplementedUserServiceServer) ListUsers ¶
func (UnimplementedUserServiceServer) ListUsers(context.Context, *ListUsersCall_Request) (*ListUsersCall_Response, error)
func (UnimplementedUserServiceServer) UpdateUser ¶
func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserCall_Request) (*UpdateUserCall_Response, error)
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateUserCall ¶
type UpdateUserCall struct {
// contains filtered or unexported fields
}
func (*UpdateUserCall) Descriptor
deprecated
func (*UpdateUserCall) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserCall.ProtoReflect.Descriptor instead.
func (*UpdateUserCall) ProtoMessage ¶
func (*UpdateUserCall) ProtoMessage()
func (*UpdateUserCall) ProtoReflect ¶
func (x *UpdateUserCall) ProtoReflect() protoreflect.Message
func (*UpdateUserCall) Reset ¶
func (x *UpdateUserCall) Reset()
func (*UpdateUserCall) String ¶
func (x *UpdateUserCall) String() string
func (*UpdateUserCall) Validate ¶
func (m *UpdateUserCall) Validate() error
Validate checks the field values on UpdateUserCall 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 (*UpdateUserCall) ValidateAll ¶
func (m *UpdateUserCall) ValidateAll() error
ValidateAll checks the field values on UpdateUserCall 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 UpdateUserCallMultiError, or nil if none found.
type UpdateUserCallMultiError ¶
type UpdateUserCallMultiError []error
UpdateUserCallMultiError is an error wrapping multiple validation errors returned by UpdateUserCall.ValidateAll() if the designated constraints aren't met.
func (UpdateUserCallMultiError) AllErrors ¶
func (m UpdateUserCallMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserCallMultiError) Error ¶
func (m UpdateUserCallMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserCallValidationError ¶
type UpdateUserCallValidationError struct {
// contains filtered or unexported fields
}
UpdateUserCallValidationError is the validation error returned by UpdateUserCall.Validate if the designated constraints aren't met.
func (UpdateUserCallValidationError) Cause ¶
func (e UpdateUserCallValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserCallValidationError) Error ¶
func (e UpdateUserCallValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserCallValidationError) ErrorName ¶
func (e UpdateUserCallValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserCallValidationError) Field ¶
func (e UpdateUserCallValidationError) Field() string
Field function returns field value.
func (UpdateUserCallValidationError) Key ¶
func (e UpdateUserCallValidationError) Key() bool
Key function returns key value.
func (UpdateUserCallValidationError) Reason ¶
func (e UpdateUserCallValidationError) Reason() string
Reason function returns reason value.
type UpdateUserCall_Request ¶
type UpdateUserCall_Request struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=first_name,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,4,opt,name=last_name,proto3" json:"last_name,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserCall_Request) Descriptor
deprecated
func (*UpdateUserCall_Request) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserCall_Request.ProtoReflect.Descriptor instead.
func (*UpdateUserCall_Request) GetEmail ¶
func (x *UpdateUserCall_Request) GetEmail() string
func (*UpdateUserCall_Request) GetFirstName ¶
func (x *UpdateUserCall_Request) GetFirstName() string
func (*UpdateUserCall_Request) GetId ¶
func (x *UpdateUserCall_Request) GetId() string
func (*UpdateUserCall_Request) GetLastName ¶
func (x *UpdateUserCall_Request) GetLastName() string
func (*UpdateUserCall_Request) ProtoMessage ¶
func (*UpdateUserCall_Request) ProtoMessage()
func (*UpdateUserCall_Request) ProtoReflect ¶
func (x *UpdateUserCall_Request) ProtoReflect() protoreflect.Message
func (*UpdateUserCall_Request) Reset ¶
func (x *UpdateUserCall_Request) Reset()
func (*UpdateUserCall_Request) String ¶
func (x *UpdateUserCall_Request) String() string
func (*UpdateUserCall_Request) Validate ¶
func (m *UpdateUserCall_Request) Validate() error
Validate checks the field values on UpdateUserCall_Request 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 (*UpdateUserCall_Request) ValidateAll ¶
func (m *UpdateUserCall_Request) ValidateAll() error
ValidateAll checks the field values on UpdateUserCall_Request 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 UpdateUserCall_RequestMultiError, or nil if none found.
type UpdateUserCall_RequestMultiError ¶
type UpdateUserCall_RequestMultiError []error
UpdateUserCall_RequestMultiError is an error wrapping multiple validation errors returned by UpdateUserCall_Request.ValidateAll() if the designated constraints aren't met.
func (UpdateUserCall_RequestMultiError) AllErrors ¶
func (m UpdateUserCall_RequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserCall_RequestMultiError) Error ¶
func (m UpdateUserCall_RequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserCall_RequestValidationError ¶
type UpdateUserCall_RequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserCall_RequestValidationError is the validation error returned by UpdateUserCall_Request.Validate if the designated constraints aren't met.
func (UpdateUserCall_RequestValidationError) Cause ¶
func (e UpdateUserCall_RequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserCall_RequestValidationError) Error ¶
func (e UpdateUserCall_RequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserCall_RequestValidationError) ErrorName ¶
func (e UpdateUserCall_RequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserCall_RequestValidationError) Field ¶
func (e UpdateUserCall_RequestValidationError) Field() string
Field function returns field value.
func (UpdateUserCall_RequestValidationError) Key ¶
func (e UpdateUserCall_RequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserCall_RequestValidationError) Reason ¶
func (e UpdateUserCall_RequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserCall_Response ¶
type UpdateUserCall_Response struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserCall_Response) Descriptor
deprecated
func (*UpdateUserCall_Response) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserCall_Response.ProtoReflect.Descriptor instead.
func (*UpdateUserCall_Response) GetUser ¶
func (x *UpdateUserCall_Response) GetUser() *User
func (*UpdateUserCall_Response) ProtoMessage ¶
func (*UpdateUserCall_Response) ProtoMessage()
func (*UpdateUserCall_Response) ProtoReflect ¶
func (x *UpdateUserCall_Response) ProtoReflect() protoreflect.Message
func (*UpdateUserCall_Response) Reset ¶
func (x *UpdateUserCall_Response) Reset()
func (*UpdateUserCall_Response) String ¶
func (x *UpdateUserCall_Response) String() string
func (*UpdateUserCall_Response) Validate ¶
func (m *UpdateUserCall_Response) Validate() error
Validate checks the field values on UpdateUserCall_Response 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 (*UpdateUserCall_Response) ValidateAll ¶
func (m *UpdateUserCall_Response) ValidateAll() error
ValidateAll checks the field values on UpdateUserCall_Response 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 UpdateUserCall_ResponseMultiError, or nil if none found.
type UpdateUserCall_ResponseMultiError ¶
type UpdateUserCall_ResponseMultiError []error
UpdateUserCall_ResponseMultiError is an error wrapping multiple validation errors returned by UpdateUserCall_Response.ValidateAll() if the designated constraints aren't met.
func (UpdateUserCall_ResponseMultiError) AllErrors ¶
func (m UpdateUserCall_ResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserCall_ResponseMultiError) Error ¶
func (m UpdateUserCall_ResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserCall_ResponseValidationError ¶
type UpdateUserCall_ResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateUserCall_ResponseValidationError is the validation error returned by UpdateUserCall_Response.Validate if the designated constraints aren't met.
func (UpdateUserCall_ResponseValidationError) Cause ¶
func (e UpdateUserCall_ResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserCall_ResponseValidationError) Error ¶
func (e UpdateUserCall_ResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserCall_ResponseValidationError) ErrorName ¶
func (e UpdateUserCall_ResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserCall_ResponseValidationError) Field ¶
func (e UpdateUserCall_ResponseValidationError) Field() string
Field function returns field value.
func (UpdateUserCall_ResponseValidationError) Key ¶
func (e UpdateUserCall_ResponseValidationError) Key() bool
Key function returns key value.
func (UpdateUserCall_ResponseValidationError) Reason ¶
func (e UpdateUserCall_ResponseValidationError) Reason() string
Reason function returns reason value.
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` FirstName string `protobuf:"bytes,3,opt,name=first_name,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,4,opt,name=last_name,proto3" json:"last_name,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetCreatedAt ¶
func (x *User) GetCreatedAt() *timestamppb.Timestamp
func (*User) GetFirstName ¶
func (*User) GetLastName ¶
func (*User) GetUpdatedAt ¶
func (x *User) GetUpdatedAt() *timestamppb.Timestamp
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
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 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 UserServiceClient ¶
type UserServiceClient interface { ListUsers(ctx context.Context, in *ListUsersCall_Request, opts ...grpc.CallOption) (*ListUsersCall_Response, error) CreateUser(ctx context.Context, in *CreateUserCall_Request, opts ...grpc.CallOption) (*CreateUserCall_Response, error) GetUser(ctx context.Context, in *GetUserCall_Request, opts ...grpc.CallOption) (*GetUserCall_Response, error) UpdateUser(ctx context.Context, in *UpdateUserCall_Request, opts ...grpc.CallOption) (*UpdateUserCall_Response, error) DeleteUser(ctx context.Context, in *DeleteUserCall_Request, opts ...grpc.CallOption) (*DeleteUserCall_Response, error) }
UserServiceClient is the client API for UserService 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 NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { ListUsers(context.Context, *ListUsersCall_Request) (*ListUsersCall_Response, error) CreateUser(context.Context, *CreateUserCall_Request) (*CreateUserCall_Response, error) GetUser(context.Context, *GetUserCall_Request) (*GetUserCall_Response, error) UpdateUser(context.Context, *UpdateUserCall_Request) (*UpdateUserCall_Response, error) DeleteUser(context.Context, *DeleteUserCall_Request) (*DeleteUserCall_Response, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
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.