Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterDisfunctionHTTPServer(s *http.Server, srv DisfunctionHTTPServer)
- func RegisterDisfunctionServer(s grpc.ServiceRegistrar, srv DisfunctionServer)
- type CreateDisfunctionRequest
- func (*CreateDisfunctionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDisfunctionRequest) GetComment() string
- func (x *CreateDisfunctionRequest) GetName() string
- func (*CreateDisfunctionRequest) ProtoMessage()
- func (x *CreateDisfunctionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDisfunctionRequest) Reset()
- func (x *CreateDisfunctionRequest) String() string
- func (m *CreateDisfunctionRequest) Validate() error
- func (m *CreateDisfunctionRequest) ValidateAll() error
- type CreateDisfunctionRequestMultiError
- type CreateDisfunctionRequestValidationError
- func (e CreateDisfunctionRequestValidationError) Cause() error
- func (e CreateDisfunctionRequestValidationError) Error() string
- func (e CreateDisfunctionRequestValidationError) ErrorName() string
- func (e CreateDisfunctionRequestValidationError) Field() string
- func (e CreateDisfunctionRequestValidationError) Key() bool
- func (e CreateDisfunctionRequestValidationError) Reason() string
- type DisfunctionClient
- type DisfunctionHTTPClient
- type DisfunctionHTTPClientImpl
- func (c *DisfunctionHTTPClientImpl) CreateDisfunction(ctx context.Context, in *CreateDisfunctionRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *DisfunctionHTTPClientImpl) DeleteDisfunction(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*api.Success, error)
- func (c *DisfunctionHTTPClientImpl) GetDisfunction(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*GetDisfunctionReply, error)
- func (c *DisfunctionHTTPClientImpl) ListDisfunction(ctx context.Context, in *ListDisfunctionRequest, opts ...http.CallOption) (*ListDisfunctionReply, error)
- func (c *DisfunctionHTTPClientImpl) UpdateDisfunction(ctx context.Context, in *UpdateDisfunctionRequest, opts ...http.CallOption) (*api.Success, error)
- type DisfunctionHTTPServer
- type DisfunctionServer
- type GetDisfunctionReply
- func (*GetDisfunctionReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetDisfunctionReply) GetComment() string
- func (x *GetDisfunctionReply) GetId() string
- func (x *GetDisfunctionReply) GetName() string
- func (*GetDisfunctionReply) ProtoMessage()
- func (x *GetDisfunctionReply) ProtoReflect() protoreflect.Message
- func (x *GetDisfunctionReply) Reset()
- func (x *GetDisfunctionReply) String() string
- func (m *GetDisfunctionReply) Validate() error
- func (m *GetDisfunctionReply) ValidateAll() error
- type GetDisfunctionReplyMultiError
- type GetDisfunctionReplyValidationError
- func (e GetDisfunctionReplyValidationError) Cause() error
- func (e GetDisfunctionReplyValidationError) Error() string
- func (e GetDisfunctionReplyValidationError) ErrorName() string
- func (e GetDisfunctionReplyValidationError) Field() string
- func (e GetDisfunctionReplyValidationError) Key() bool
- func (e GetDisfunctionReplyValidationError) Reason() string
- type ListDisfunctionReply
- func (*ListDisfunctionReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListDisfunctionReply) GetDataList() []*GetDisfunctionReply
- func (x *ListDisfunctionReply) GetPage() int32
- func (x *ListDisfunctionReply) GetPerPage() int32
- func (x *ListDisfunctionReply) GetTotal() int32
- func (*ListDisfunctionReply) ProtoMessage()
- func (x *ListDisfunctionReply) ProtoReflect() protoreflect.Message
- func (x *ListDisfunctionReply) Reset()
- func (x *ListDisfunctionReply) String() string
- func (m *ListDisfunctionReply) Validate() error
- func (m *ListDisfunctionReply) ValidateAll() error
- type ListDisfunctionReplyMultiError
- type ListDisfunctionReplyValidationError
- func (e ListDisfunctionReplyValidationError) Cause() error
- func (e ListDisfunctionReplyValidationError) Error() string
- func (e ListDisfunctionReplyValidationError) ErrorName() string
- func (e ListDisfunctionReplyValidationError) Field() string
- func (e ListDisfunctionReplyValidationError) Key() bool
- func (e ListDisfunctionReplyValidationError) Reason() string
- type ListDisfunctionRequest
- func (*ListDisfunctionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDisfunctionRequest) GetName() string
- func (x *ListDisfunctionRequest) GetPage() int32
- func (x *ListDisfunctionRequest) GetPerPage() int32
- func (*ListDisfunctionRequest) ProtoMessage()
- func (x *ListDisfunctionRequest) ProtoReflect() protoreflect.Message
- func (x *ListDisfunctionRequest) Reset()
- func (x *ListDisfunctionRequest) String() string
- func (m *ListDisfunctionRequest) Validate() error
- func (m *ListDisfunctionRequest) ValidateAll() error
- type ListDisfunctionRequestMultiError
- type ListDisfunctionRequestValidationError
- func (e ListDisfunctionRequestValidationError) Cause() error
- func (e ListDisfunctionRequestValidationError) Error() string
- func (e ListDisfunctionRequestValidationError) ErrorName() string
- func (e ListDisfunctionRequestValidationError) Field() string
- func (e ListDisfunctionRequestValidationError) Key() bool
- func (e ListDisfunctionRequestValidationError) Reason() string
- type UnimplementedDisfunctionServer
- func (UnimplementedDisfunctionServer) CreateDisfunction(context.Context, *CreateDisfunctionRequest) (*api.Success, error)
- func (UnimplementedDisfunctionServer) DeleteDisfunction(context.Context, *api.IDRequest) (*api.Success, error)
- func (UnimplementedDisfunctionServer) GetDisfunction(context.Context, *api.IDRequest) (*GetDisfunctionReply, error)
- func (UnimplementedDisfunctionServer) ListDisfunction(context.Context, *ListDisfunctionRequest) (*ListDisfunctionReply, error)
- func (UnimplementedDisfunctionServer) UpdateDisfunction(context.Context, *UpdateDisfunctionRequest) (*api.Success, error)
- type UnsafeDisfunctionServer
- type UpdateDisfunctionRequest
- func (*UpdateDisfunctionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDisfunctionRequest) GetComment() string
- func (x *UpdateDisfunctionRequest) GetId() string
- func (x *UpdateDisfunctionRequest) GetName() string
- func (*UpdateDisfunctionRequest) ProtoMessage()
- func (x *UpdateDisfunctionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDisfunctionRequest) Reset()
- func (x *UpdateDisfunctionRequest) String() string
- func (m *UpdateDisfunctionRequest) Validate() error
- func (m *UpdateDisfunctionRequest) ValidateAll() error
- type UpdateDisfunctionRequestMultiError
- type UpdateDisfunctionRequestValidationError
- func (e UpdateDisfunctionRequestValidationError) Cause() error
- func (e UpdateDisfunctionRequestValidationError) Error() string
- func (e UpdateDisfunctionRequestValidationError) ErrorName() string
- func (e UpdateDisfunctionRequestValidationError) Field() string
- func (e UpdateDisfunctionRequestValidationError) Key() bool
- func (e UpdateDisfunctionRequestValidationError) Reason() string
Constants ¶
const OperationDisfunctionCreateDisfunction = "/api.patient.disfunction.Disfunction/CreateDisfunction"
const OperationDisfunctionDeleteDisfunction = "/api.patient.disfunction.Disfunction/DeleteDisfunction"
const OperationDisfunctionGetDisfunction = "/api.patient.disfunction.Disfunction/GetDisfunction"
const OperationDisfunctionListDisfunction = "/api.patient.disfunction.Disfunction/ListDisfunction"
const OperationDisfunctionUpdateDisfunction = "/api.patient.disfunction.Disfunction/UpdateDisfunction"
Variables ¶
var Disfunction_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.patient.disfunction.Disfunction", HandlerType: (*DisfunctionServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateDisfunction", Handler: _Disfunction_CreateDisfunction_Handler, }, { MethodName: "UpdateDisfunction", Handler: _Disfunction_UpdateDisfunction_Handler, }, { MethodName: "DeleteDisfunction", Handler: _Disfunction_DeleteDisfunction_Handler, }, { MethodName: "GetDisfunction", Handler: _Disfunction_GetDisfunction_Handler, }, { MethodName: "ListDisfunction", Handler: _Disfunction_ListDisfunction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/patient/disfunction/disfunction.proto", }
Disfunction_ServiceDesc is the grpc.ServiceDesc for Disfunction service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_api_patient_disfunction_disfunction_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDisfunctionHTTPServer ¶
func RegisterDisfunctionHTTPServer(s *http.Server, srv DisfunctionHTTPServer)
func RegisterDisfunctionServer ¶
func RegisterDisfunctionServer(s grpc.ServiceRegistrar, srv DisfunctionServer)
Types ¶
type CreateDisfunctionRequest ¶
type CreateDisfunctionRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*CreateDisfunctionRequest) Descriptor
deprecated
func (*CreateDisfunctionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDisfunctionRequest.ProtoReflect.Descriptor instead.
func (*CreateDisfunctionRequest) GetComment ¶
func (x *CreateDisfunctionRequest) GetComment() string
func (*CreateDisfunctionRequest) GetName ¶
func (x *CreateDisfunctionRequest) GetName() string
func (*CreateDisfunctionRequest) ProtoMessage ¶
func (*CreateDisfunctionRequest) ProtoMessage()
func (*CreateDisfunctionRequest) ProtoReflect ¶
func (x *CreateDisfunctionRequest) ProtoReflect() protoreflect.Message
func (*CreateDisfunctionRequest) Reset ¶
func (x *CreateDisfunctionRequest) Reset()
func (*CreateDisfunctionRequest) String ¶
func (x *CreateDisfunctionRequest) String() string
func (*CreateDisfunctionRequest) Validate ¶
func (m *CreateDisfunctionRequest) Validate() error
Validate checks the field values on CreateDisfunctionRequest 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 (*CreateDisfunctionRequest) ValidateAll ¶
func (m *CreateDisfunctionRequest) ValidateAll() error
ValidateAll checks the field values on CreateDisfunctionRequest 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 CreateDisfunctionRequestMultiError, or nil if none found.
type CreateDisfunctionRequestMultiError ¶
type CreateDisfunctionRequestMultiError []error
CreateDisfunctionRequestMultiError is an error wrapping multiple validation errors returned by CreateDisfunctionRequest.ValidateAll() if the designated constraints aren't met.
func (CreateDisfunctionRequestMultiError) AllErrors ¶
func (m CreateDisfunctionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateDisfunctionRequestMultiError) Error ¶
func (m CreateDisfunctionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateDisfunctionRequestValidationError ¶
type CreateDisfunctionRequestValidationError struct {
// contains filtered or unexported fields
}
CreateDisfunctionRequestValidationError is the validation error returned by CreateDisfunctionRequest.Validate if the designated constraints aren't met.
func (CreateDisfunctionRequestValidationError) Cause ¶
func (e CreateDisfunctionRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateDisfunctionRequestValidationError) Error ¶
func (e CreateDisfunctionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateDisfunctionRequestValidationError) ErrorName ¶
func (e CreateDisfunctionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateDisfunctionRequestValidationError) Field ¶
func (e CreateDisfunctionRequestValidationError) Field() string
Field function returns field value.
func (CreateDisfunctionRequestValidationError) Key ¶
func (e CreateDisfunctionRequestValidationError) Key() bool
Key function returns key value.
func (CreateDisfunctionRequestValidationError) Reason ¶
func (e CreateDisfunctionRequestValidationError) Reason() string
Reason function returns reason value.
type DisfunctionClient ¶
type DisfunctionClient interface { CreateDisfunction(ctx context.Context, in *CreateDisfunctionRequest, opts ...grpc.CallOption) (*api.Success, error) UpdateDisfunction(ctx context.Context, in *UpdateDisfunctionRequest, opts ...grpc.CallOption) (*api.Success, error) DeleteDisfunction(ctx context.Context, in *api.IDRequest, opts ...grpc.CallOption) (*api.Success, error) GetDisfunction(ctx context.Context, in *api.IDRequest, opts ...grpc.CallOption) (*GetDisfunctionReply, error) ListDisfunction(ctx context.Context, in *ListDisfunctionRequest, opts ...grpc.CallOption) (*ListDisfunctionReply, error) }
DisfunctionClient is the client API for Disfunction 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 NewDisfunctionClient ¶
func NewDisfunctionClient(cc grpc.ClientConnInterface) DisfunctionClient
type DisfunctionHTTPClient ¶
type DisfunctionHTTPClient interface { CreateDisfunction(ctx context.Context, req *CreateDisfunctionRequest, opts ...http.CallOption) (rsp *api.Success, err error) DeleteDisfunction(ctx context.Context, req *api.IDRequest, opts ...http.CallOption) (rsp *api.Success, err error) GetDisfunction(ctx context.Context, req *api.IDRequest, opts ...http.CallOption) (rsp *GetDisfunctionReply, err error) ListDisfunction(ctx context.Context, req *ListDisfunctionRequest, opts ...http.CallOption) (rsp *ListDisfunctionReply, err error) UpdateDisfunction(ctx context.Context, req *UpdateDisfunctionRequest, opts ...http.CallOption) (rsp *api.Success, err error) }
func NewDisfunctionHTTPClient ¶
func NewDisfunctionHTTPClient(client *http.Client) DisfunctionHTTPClient
type DisfunctionHTTPClientImpl ¶
type DisfunctionHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*DisfunctionHTTPClientImpl) CreateDisfunction ¶
func (c *DisfunctionHTTPClientImpl) CreateDisfunction(ctx context.Context, in *CreateDisfunctionRequest, opts ...http.CallOption) (*api.Success, error)
func (*DisfunctionHTTPClientImpl) DeleteDisfunction ¶
func (c *DisfunctionHTTPClientImpl) DeleteDisfunction(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*api.Success, error)
func (*DisfunctionHTTPClientImpl) GetDisfunction ¶
func (c *DisfunctionHTTPClientImpl) GetDisfunction(ctx context.Context, in *api.IDRequest, opts ...http.CallOption) (*GetDisfunctionReply, error)
func (*DisfunctionHTTPClientImpl) ListDisfunction ¶
func (c *DisfunctionHTTPClientImpl) ListDisfunction(ctx context.Context, in *ListDisfunctionRequest, opts ...http.CallOption) (*ListDisfunctionReply, error)
func (*DisfunctionHTTPClientImpl) UpdateDisfunction ¶
func (c *DisfunctionHTTPClientImpl) UpdateDisfunction(ctx context.Context, in *UpdateDisfunctionRequest, opts ...http.CallOption) (*api.Success, error)
type DisfunctionHTTPServer ¶
type DisfunctionHTTPServer interface { CreateDisfunction(context.Context, *CreateDisfunctionRequest) (*api.Success, error) DeleteDisfunction(context.Context, *api.IDRequest) (*api.Success, error) GetDisfunction(context.Context, *api.IDRequest) (*GetDisfunctionReply, error) ListDisfunction(context.Context, *ListDisfunctionRequest) (*ListDisfunctionReply, error) UpdateDisfunction(context.Context, *UpdateDisfunctionRequest) (*api.Success, error) }
type DisfunctionServer ¶
type DisfunctionServer interface { CreateDisfunction(context.Context, *CreateDisfunctionRequest) (*api.Success, error) UpdateDisfunction(context.Context, *UpdateDisfunctionRequest) (*api.Success, error) DeleteDisfunction(context.Context, *api.IDRequest) (*api.Success, error) GetDisfunction(context.Context, *api.IDRequest) (*GetDisfunctionReply, error) ListDisfunction(context.Context, *ListDisfunctionRequest) (*ListDisfunctionReply, error) // contains filtered or unexported methods }
DisfunctionServer is the server API for Disfunction service. All implementations must embed UnimplementedDisfunctionServer for forward compatibility
type GetDisfunctionReply ¶
type GetDisfunctionReply struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
func (*GetDisfunctionReply) Descriptor
deprecated
func (*GetDisfunctionReply) Descriptor() ([]byte, []int)
Deprecated: Use GetDisfunctionReply.ProtoReflect.Descriptor instead.
func (*GetDisfunctionReply) GetComment ¶
func (x *GetDisfunctionReply) GetComment() string
func (*GetDisfunctionReply) GetId ¶
func (x *GetDisfunctionReply) GetId() string
func (*GetDisfunctionReply) GetName ¶
func (x *GetDisfunctionReply) GetName() string
func (*GetDisfunctionReply) ProtoMessage ¶
func (*GetDisfunctionReply) ProtoMessage()
func (*GetDisfunctionReply) ProtoReflect ¶
func (x *GetDisfunctionReply) ProtoReflect() protoreflect.Message
func (*GetDisfunctionReply) Reset ¶
func (x *GetDisfunctionReply) Reset()
func (*GetDisfunctionReply) String ¶
func (x *GetDisfunctionReply) String() string
func (*GetDisfunctionReply) Validate ¶
func (m *GetDisfunctionReply) Validate() error
Validate checks the field values on GetDisfunctionReply 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 (*GetDisfunctionReply) ValidateAll ¶
func (m *GetDisfunctionReply) ValidateAll() error
ValidateAll checks the field values on GetDisfunctionReply 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 GetDisfunctionReplyMultiError, or nil if none found.
type GetDisfunctionReplyMultiError ¶
type GetDisfunctionReplyMultiError []error
GetDisfunctionReplyMultiError is an error wrapping multiple validation errors returned by GetDisfunctionReply.ValidateAll() if the designated constraints aren't met.
func (GetDisfunctionReplyMultiError) AllErrors ¶
func (m GetDisfunctionReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetDisfunctionReplyMultiError) Error ¶
func (m GetDisfunctionReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetDisfunctionReplyValidationError ¶
type GetDisfunctionReplyValidationError struct {
// contains filtered or unexported fields
}
GetDisfunctionReplyValidationError is the validation error returned by GetDisfunctionReply.Validate if the designated constraints aren't met.
func (GetDisfunctionReplyValidationError) Cause ¶
func (e GetDisfunctionReplyValidationError) Cause() error
Cause function returns cause value.
func (GetDisfunctionReplyValidationError) Error ¶
func (e GetDisfunctionReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetDisfunctionReplyValidationError) ErrorName ¶
func (e GetDisfunctionReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetDisfunctionReplyValidationError) Field ¶
func (e GetDisfunctionReplyValidationError) Field() string
Field function returns field value.
func (GetDisfunctionReplyValidationError) Key ¶
func (e GetDisfunctionReplyValidationError) Key() bool
Key function returns key value.
func (GetDisfunctionReplyValidationError) Reason ¶
func (e GetDisfunctionReplyValidationError) Reason() string
Reason function returns reason value.
type ListDisfunctionReply ¶
type ListDisfunctionReply struct { DataList []*GetDisfunctionReply `protobuf:"bytes,1,rep,name=dataList,proto3" json:"dataList,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"` // contains filtered or unexported fields }
func (*ListDisfunctionReply) Descriptor
deprecated
func (*ListDisfunctionReply) Descriptor() ([]byte, []int)
Deprecated: Use ListDisfunctionReply.ProtoReflect.Descriptor instead.
func (*ListDisfunctionReply) GetDataList ¶
func (x *ListDisfunctionReply) GetDataList() []*GetDisfunctionReply
func (*ListDisfunctionReply) GetPage ¶
func (x *ListDisfunctionReply) GetPage() int32
func (*ListDisfunctionReply) GetPerPage ¶
func (x *ListDisfunctionReply) GetPerPage() int32
func (*ListDisfunctionReply) GetTotal ¶
func (x *ListDisfunctionReply) GetTotal() int32
func (*ListDisfunctionReply) ProtoMessage ¶
func (*ListDisfunctionReply) ProtoMessage()
func (*ListDisfunctionReply) ProtoReflect ¶
func (x *ListDisfunctionReply) ProtoReflect() protoreflect.Message
func (*ListDisfunctionReply) Reset ¶
func (x *ListDisfunctionReply) Reset()
func (*ListDisfunctionReply) String ¶
func (x *ListDisfunctionReply) String() string
func (*ListDisfunctionReply) Validate ¶
func (m *ListDisfunctionReply) Validate() error
Validate checks the field values on ListDisfunctionReply 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 (*ListDisfunctionReply) ValidateAll ¶
func (m *ListDisfunctionReply) ValidateAll() error
ValidateAll checks the field values on ListDisfunctionReply 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 ListDisfunctionReplyMultiError, or nil if none found.
type ListDisfunctionReplyMultiError ¶
type ListDisfunctionReplyMultiError []error
ListDisfunctionReplyMultiError is an error wrapping multiple validation errors returned by ListDisfunctionReply.ValidateAll() if the designated constraints aren't met.
func (ListDisfunctionReplyMultiError) AllErrors ¶
func (m ListDisfunctionReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDisfunctionReplyMultiError) Error ¶
func (m ListDisfunctionReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDisfunctionReplyValidationError ¶
type ListDisfunctionReplyValidationError struct {
// contains filtered or unexported fields
}
ListDisfunctionReplyValidationError is the validation error returned by ListDisfunctionReply.Validate if the designated constraints aren't met.
func (ListDisfunctionReplyValidationError) Cause ¶
func (e ListDisfunctionReplyValidationError) Cause() error
Cause function returns cause value.
func (ListDisfunctionReplyValidationError) Error ¶
func (e ListDisfunctionReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListDisfunctionReplyValidationError) ErrorName ¶
func (e ListDisfunctionReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListDisfunctionReplyValidationError) Field ¶
func (e ListDisfunctionReplyValidationError) Field() string
Field function returns field value.
func (ListDisfunctionReplyValidationError) Key ¶
func (e ListDisfunctionReplyValidationError) Key() bool
Key function returns key value.
func (ListDisfunctionReplyValidationError) Reason ¶
func (e ListDisfunctionReplyValidationError) Reason() string
Reason function returns reason value.
type ListDisfunctionRequest ¶
type ListDisfunctionRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PerPage int32 `protobuf:"varint,2,opt,name=perPage,proto3" json:"perPage,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListDisfunctionRequest) Descriptor
deprecated
func (*ListDisfunctionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDisfunctionRequest.ProtoReflect.Descriptor instead.
func (*ListDisfunctionRequest) GetName ¶
func (x *ListDisfunctionRequest) GetName() string
func (*ListDisfunctionRequest) GetPage ¶
func (x *ListDisfunctionRequest) GetPage() int32
func (*ListDisfunctionRequest) GetPerPage ¶
func (x *ListDisfunctionRequest) GetPerPage() int32
func (*ListDisfunctionRequest) ProtoMessage ¶
func (*ListDisfunctionRequest) ProtoMessage()
func (*ListDisfunctionRequest) ProtoReflect ¶
func (x *ListDisfunctionRequest) ProtoReflect() protoreflect.Message
func (*ListDisfunctionRequest) Reset ¶
func (x *ListDisfunctionRequest) Reset()
func (*ListDisfunctionRequest) String ¶
func (x *ListDisfunctionRequest) String() string
func (*ListDisfunctionRequest) Validate ¶
func (m *ListDisfunctionRequest) Validate() error
Validate checks the field values on ListDisfunctionRequest 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 (*ListDisfunctionRequest) ValidateAll ¶
func (m *ListDisfunctionRequest) ValidateAll() error
ValidateAll checks the field values on ListDisfunctionRequest 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 ListDisfunctionRequestMultiError, or nil if none found.
type ListDisfunctionRequestMultiError ¶
type ListDisfunctionRequestMultiError []error
ListDisfunctionRequestMultiError is an error wrapping multiple validation errors returned by ListDisfunctionRequest.ValidateAll() if the designated constraints aren't met.
func (ListDisfunctionRequestMultiError) AllErrors ¶
func (m ListDisfunctionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListDisfunctionRequestMultiError) Error ¶
func (m ListDisfunctionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListDisfunctionRequestValidationError ¶
type ListDisfunctionRequestValidationError struct {
// contains filtered or unexported fields
}
ListDisfunctionRequestValidationError is the validation error returned by ListDisfunctionRequest.Validate if the designated constraints aren't met.
func (ListDisfunctionRequestValidationError) Cause ¶
func (e ListDisfunctionRequestValidationError) Cause() error
Cause function returns cause value.
func (ListDisfunctionRequestValidationError) Error ¶
func (e ListDisfunctionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListDisfunctionRequestValidationError) ErrorName ¶
func (e ListDisfunctionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListDisfunctionRequestValidationError) Field ¶
func (e ListDisfunctionRequestValidationError) Field() string
Field function returns field value.
func (ListDisfunctionRequestValidationError) Key ¶
func (e ListDisfunctionRequestValidationError) Key() bool
Key function returns key value.
func (ListDisfunctionRequestValidationError) Reason ¶
func (e ListDisfunctionRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedDisfunctionServer ¶
type UnimplementedDisfunctionServer struct { }
UnimplementedDisfunctionServer must be embedded to have forward compatible implementations.
func (UnimplementedDisfunctionServer) CreateDisfunction ¶
func (UnimplementedDisfunctionServer) CreateDisfunction(context.Context, *CreateDisfunctionRequest) (*api.Success, error)
func (UnimplementedDisfunctionServer) DeleteDisfunction ¶
func (UnimplementedDisfunctionServer) GetDisfunction ¶
func (UnimplementedDisfunctionServer) GetDisfunction(context.Context, *api.IDRequest) (*GetDisfunctionReply, error)
func (UnimplementedDisfunctionServer) ListDisfunction ¶
func (UnimplementedDisfunctionServer) ListDisfunction(context.Context, *ListDisfunctionRequest) (*ListDisfunctionReply, error)
func (UnimplementedDisfunctionServer) UpdateDisfunction ¶
func (UnimplementedDisfunctionServer) UpdateDisfunction(context.Context, *UpdateDisfunctionRequest) (*api.Success, error)
type UnsafeDisfunctionServer ¶
type UnsafeDisfunctionServer interface {
// contains filtered or unexported methods
}
UnsafeDisfunctionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DisfunctionServer will result in compilation errors.
type UpdateDisfunctionRequest ¶
type UpdateDisfunctionRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*UpdateDisfunctionRequest) Descriptor
deprecated
func (*UpdateDisfunctionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDisfunctionRequest.ProtoReflect.Descriptor instead.
func (*UpdateDisfunctionRequest) GetComment ¶
func (x *UpdateDisfunctionRequest) GetComment() string
func (*UpdateDisfunctionRequest) GetId ¶
func (x *UpdateDisfunctionRequest) GetId() string
func (*UpdateDisfunctionRequest) GetName ¶
func (x *UpdateDisfunctionRequest) GetName() string
func (*UpdateDisfunctionRequest) ProtoMessage ¶
func (*UpdateDisfunctionRequest) ProtoMessage()
func (*UpdateDisfunctionRequest) ProtoReflect ¶
func (x *UpdateDisfunctionRequest) ProtoReflect() protoreflect.Message
func (*UpdateDisfunctionRequest) Reset ¶
func (x *UpdateDisfunctionRequest) Reset()
func (*UpdateDisfunctionRequest) String ¶
func (x *UpdateDisfunctionRequest) String() string
func (*UpdateDisfunctionRequest) Validate ¶
func (m *UpdateDisfunctionRequest) Validate() error
Validate checks the field values on UpdateDisfunctionRequest 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 (*UpdateDisfunctionRequest) ValidateAll ¶
func (m *UpdateDisfunctionRequest) ValidateAll() error
ValidateAll checks the field values on UpdateDisfunctionRequest 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 UpdateDisfunctionRequestMultiError, or nil if none found.
type UpdateDisfunctionRequestMultiError ¶
type UpdateDisfunctionRequestMultiError []error
UpdateDisfunctionRequestMultiError is an error wrapping multiple validation errors returned by UpdateDisfunctionRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateDisfunctionRequestMultiError) AllErrors ¶
func (m UpdateDisfunctionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateDisfunctionRequestMultiError) Error ¶
func (m UpdateDisfunctionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateDisfunctionRequestValidationError ¶
type UpdateDisfunctionRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateDisfunctionRequestValidationError is the validation error returned by UpdateDisfunctionRequest.Validate if the designated constraints aren't met.
func (UpdateDisfunctionRequestValidationError) Cause ¶
func (e UpdateDisfunctionRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateDisfunctionRequestValidationError) Error ¶
func (e UpdateDisfunctionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateDisfunctionRequestValidationError) ErrorName ¶
func (e UpdateDisfunctionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateDisfunctionRequestValidationError) Field ¶
func (e UpdateDisfunctionRequestValidationError) Field() string
Field function returns field value.
func (UpdateDisfunctionRequestValidationError) Key ¶
func (e UpdateDisfunctionRequestValidationError) Key() bool
Key function returns key value.
func (UpdateDisfunctionRequestValidationError) Reason ¶
func (e UpdateDisfunctionRequestValidationError) Reason() string
Reason function returns reason value.