Versions in this module Expand all Collapse all v4 v4.25.2 Apr 26, 2024 v4.25.1 Apr 26, 2024 v4.24.3 Apr 26, 2024 Changes in this version + const Namespace_All_FullMethodName + const Namespace_Create_FullMethodName + const Namespace_Delete_FullMethodName + const Namespace_IsExists_FullMethodName + const Namespace_Show_FullMethodName + var File_namespace_namespace_proto protoreflect.FileDescriptor + var Namespace_ServiceDesc = grpc.ServiceDesc + func RegisterNamespaceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterNamespaceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NamespaceClient) error + func RegisterNamespaceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterNamespaceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NamespaceServer) error + func RegisterNamespaceServer(s grpc.ServiceRegistrar, srv NamespaceServer) + type AllRequest struct + func (*AllRequest) Descriptor() ([]byte, []int) + func (*AllRequest) ProtoMessage() + func (m *AllRequest) Validate() error + func (m *AllRequest) ValidateAll() error + func (x *AllRequest) ProtoReflect() protoreflect.Message + func (x *AllRequest) Reset() + func (x *AllRequest) String() string + type AllRequestMultiError []error + func (m AllRequestMultiError) AllErrors() []error + func (m AllRequestMultiError) Error() string + type AllRequestValidationError struct + func (e AllRequestValidationError) Cause() error + func (e AllRequestValidationError) Error() string + func (e AllRequestValidationError) ErrorName() string + func (e AllRequestValidationError) Field() string + func (e AllRequestValidationError) Key() bool + func (e AllRequestValidationError) Reason() string + type AllResponse struct + Items []*types.NamespaceModel + func (*AllResponse) Descriptor() ([]byte, []int) + func (*AllResponse) ProtoMessage() + func (m *AllResponse) Validate() error + func (m *AllResponse) ValidateAll() error + func (x *AllResponse) GetItems() []*types.NamespaceModel + func (x *AllResponse) ProtoReflect() protoreflect.Message + func (x *AllResponse) Reset() + func (x *AllResponse) String() string + type AllResponseMultiError []error + func (m AllResponseMultiError) AllErrors() []error + func (m AllResponseMultiError) Error() string + type AllResponseValidationError struct + func (e AllResponseValidationError) Cause() error + func (e AllResponseValidationError) Error() string + func (e AllResponseValidationError) ErrorName() string + func (e AllResponseValidationError) Field() string + func (e AllResponseValidationError) Key() bool + func (e AllResponseValidationError) Reason() string + type CreateRequest struct + IgnoreIfExists bool + Namespace string + func (*CreateRequest) Descriptor() ([]byte, []int) + func (*CreateRequest) ProtoMessage() + func (m *CreateRequest) Validate() error + func (m *CreateRequest) ValidateAll() error + func (x *CreateRequest) GetIgnoreIfExists() bool + func (x *CreateRequest) GetNamespace() string + func (x *CreateRequest) ProtoReflect() protoreflect.Message + func (x *CreateRequest) Reset() + func (x *CreateRequest) String() string + type CreateRequestMultiError []error + func (m CreateRequestMultiError) AllErrors() []error + func (m CreateRequestMultiError) Error() string + type CreateRequestValidationError struct + func (e CreateRequestValidationError) Cause() error + func (e CreateRequestValidationError) Error() string + func (e CreateRequestValidationError) ErrorName() string + func (e CreateRequestValidationError) Field() string + func (e CreateRequestValidationError) Key() bool + func (e CreateRequestValidationError) Reason() string + type CreateResponse struct + Exists bool + Namespace *types.NamespaceModel + func (*CreateResponse) Descriptor() ([]byte, []int) + func (*CreateResponse) ProtoMessage() + func (m *CreateResponse) Validate() error + func (m *CreateResponse) ValidateAll() error + func (x *CreateResponse) GetExists() bool + func (x *CreateResponse) GetNamespace() *types.NamespaceModel + func (x *CreateResponse) ProtoReflect() protoreflect.Message + func (x *CreateResponse) Reset() + func (x *CreateResponse) String() string + type CreateResponseMultiError []error + func (m CreateResponseMultiError) AllErrors() []error + func (m CreateResponseMultiError) Error() string + type CreateResponseValidationError struct + func (e CreateResponseValidationError) Cause() error + func (e CreateResponseValidationError) Error() string + func (e CreateResponseValidationError) ErrorName() string + func (e CreateResponseValidationError) Field() string + func (e CreateResponseValidationError) Key() bool + func (e CreateResponseValidationError) Reason() string + type DeleteRequest struct + NamespaceId int64 + func (*DeleteRequest) Descriptor() ([]byte, []int) + func (*DeleteRequest) ProtoMessage() + func (m *DeleteRequest) Validate() error + func (m *DeleteRequest) ValidateAll() error + func (x *DeleteRequest) GetNamespaceId() int64 + func (x *DeleteRequest) ProtoReflect() protoreflect.Message + func (x *DeleteRequest) Reset() + func (x *DeleteRequest) String() string + type DeleteRequestMultiError []error + func (m DeleteRequestMultiError) AllErrors() []error + func (m DeleteRequestMultiError) Error() string + type DeleteRequestValidationError struct + func (e DeleteRequestValidationError) Cause() error + func (e DeleteRequestValidationError) Error() string + func (e DeleteRequestValidationError) ErrorName() string + func (e DeleteRequestValidationError) Field() string + func (e DeleteRequestValidationError) Key() bool + func (e DeleteRequestValidationError) Reason() string + type DeleteResponse struct + func (*DeleteResponse) Descriptor() ([]byte, []int) + func (*DeleteResponse) ProtoMessage() + func (m *DeleteResponse) Validate() error + func (m *DeleteResponse) ValidateAll() error + func (x *DeleteResponse) ProtoReflect() protoreflect.Message + func (x *DeleteResponse) Reset() + func (x *DeleteResponse) String() string + type DeleteResponseMultiError []error + func (m DeleteResponseMultiError) AllErrors() []error + func (m DeleteResponseMultiError) Error() string + type DeleteResponseValidationError struct + func (e DeleteResponseValidationError) Cause() error + func (e DeleteResponseValidationError) Error() string + func (e DeleteResponseValidationError) ErrorName() string + func (e DeleteResponseValidationError) Field() string + func (e DeleteResponseValidationError) Key() bool + func (e DeleteResponseValidationError) Reason() string + type IsExistsRequest struct + Name string + func (*IsExistsRequest) Descriptor() ([]byte, []int) + func (*IsExistsRequest) ProtoMessage() + func (m *IsExistsRequest) Validate() error + func (m *IsExistsRequest) ValidateAll() error + func (x *IsExistsRequest) GetName() string + func (x *IsExistsRequest) ProtoReflect() protoreflect.Message + func (x *IsExistsRequest) Reset() + func (x *IsExistsRequest) String() string + type IsExistsRequestMultiError []error + func (m IsExistsRequestMultiError) AllErrors() []error + func (m IsExistsRequestMultiError) Error() string + type IsExistsRequestValidationError struct + func (e IsExistsRequestValidationError) Cause() error + func (e IsExistsRequestValidationError) Error() string + func (e IsExistsRequestValidationError) ErrorName() string + func (e IsExistsRequestValidationError) Field() string + func (e IsExistsRequestValidationError) Key() bool + func (e IsExistsRequestValidationError) Reason() string + type IsExistsResponse struct + Exists bool + Id int64 + func (*IsExistsResponse) Descriptor() ([]byte, []int) + func (*IsExistsResponse) ProtoMessage() + func (m *IsExistsResponse) Validate() error + func (m *IsExistsResponse) ValidateAll() error + func (x *IsExistsResponse) GetExists() bool + func (x *IsExistsResponse) GetId() int64 + func (x *IsExistsResponse) ProtoReflect() protoreflect.Message + func (x *IsExistsResponse) Reset() + func (x *IsExistsResponse) String() string + type IsExistsResponseMultiError []error + func (m IsExistsResponseMultiError) AllErrors() []error + func (m IsExistsResponseMultiError) Error() string + type IsExistsResponseValidationError struct + func (e IsExistsResponseValidationError) Cause() error + func (e IsExistsResponseValidationError) Error() string + func (e IsExistsResponseValidationError) ErrorName() string + func (e IsExistsResponseValidationError) Field() string + func (e IsExistsResponseValidationError) Key() bool + func (e IsExistsResponseValidationError) Reason() string + type NamespaceClient interface + All func(ctx context.Context, in *AllRequest, opts ...grpc.CallOption) (*AllResponse, error) + Create func(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) + Delete func(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) + IsExists func(ctx context.Context, in *IsExistsRequest, opts ...grpc.CallOption) (*IsExistsResponse, error) + Show func(ctx context.Context, in *ShowRequest, opts ...grpc.CallOption) (*ShowResponse, error) + func NewNamespaceClient(cc grpc.ClientConnInterface) NamespaceClient + type NamespaceServer interface + All func(context.Context, *AllRequest) (*AllResponse, error) + Create func(context.Context, *CreateRequest) (*CreateResponse, error) + Delete func(context.Context, *DeleteRequest) (*DeleteResponse, error) + IsExists func(context.Context, *IsExistsRequest) (*IsExistsResponse, error) + Show func(context.Context, *ShowRequest) (*ShowResponse, error) + type ShowRequest struct + NamespaceId int64 + func (*ShowRequest) Descriptor() ([]byte, []int) + func (*ShowRequest) ProtoMessage() + func (m *ShowRequest) Validate() error + func (m *ShowRequest) ValidateAll() error + func (x *ShowRequest) GetNamespaceId() int64 + func (x *ShowRequest) ProtoReflect() protoreflect.Message + func (x *ShowRequest) Reset() + func (x *ShowRequest) String() string + type ShowRequestMultiError []error + func (m ShowRequestMultiError) AllErrors() []error + func (m ShowRequestMultiError) Error() string + type ShowRequestValidationError struct + func (e ShowRequestValidationError) Cause() error + func (e ShowRequestValidationError) Error() string + func (e ShowRequestValidationError) ErrorName() string + func (e ShowRequestValidationError) Field() string + func (e ShowRequestValidationError) Key() bool + func (e ShowRequestValidationError) Reason() string + type ShowResponse struct + Namespace *types.NamespaceModel + func (*ShowResponse) Descriptor() ([]byte, []int) + func (*ShowResponse) ProtoMessage() + func (m *ShowResponse) Validate() error + func (m *ShowResponse) ValidateAll() error + func (x *ShowResponse) GetNamespace() *types.NamespaceModel + func (x *ShowResponse) ProtoReflect() protoreflect.Message + func (x *ShowResponse) Reset() + func (x *ShowResponse) String() string + type ShowResponseMultiError []error + func (m ShowResponseMultiError) AllErrors() []error + func (m ShowResponseMultiError) Error() string + type ShowResponseValidationError struct + func (e ShowResponseValidationError) Cause() error + func (e ShowResponseValidationError) Error() string + func (e ShowResponseValidationError) ErrorName() string + func (e ShowResponseValidationError) Field() string + func (e ShowResponseValidationError) Key() bool + func (e ShowResponseValidationError) Reason() string + type UnimplementedNamespaceServer struct + func (UnimplementedNamespaceServer) All(context.Context, *AllRequest) (*AllResponse, error) + func (UnimplementedNamespaceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error) + func (UnimplementedNamespaceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) + func (UnimplementedNamespaceServer) IsExists(context.Context, *IsExistsRequest) (*IsExistsResponse, error) + func (UnimplementedNamespaceServer) Show(context.Context, *ShowRequest) (*ShowResponse, error) + type UnsafeNamespaceServer interface