Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterIcdHTTPServer(s *http.Server, srv IcdHTTPServer)
- func RegisterIcdServer(s grpc.ServiceRegistrar, srv IcdServer)
- type GetIcdReply
- func (*GetIcdReply) Descriptor() ([]byte, []int)deprecated
- func (x *GetIcdReply) GetCode() string
- func (x *GetIcdReply) GetDiagnosis() string
- func (x *GetIcdReply) GetExtraCode() string
- func (*GetIcdReply) ProtoMessage()
- func (x *GetIcdReply) ProtoReflect() protoreflect.Message
- func (x *GetIcdReply) Reset()
- func (x *GetIcdReply) String() string
- func (m *GetIcdReply) Validate() error
- func (m *GetIcdReply) ValidateAll() error
- type GetIcdReplyMultiError
- type GetIcdReplyValidationError
- func (e GetIcdReplyValidationError) Cause() error
- func (e GetIcdReplyValidationError) Error() string
- func (e GetIcdReplyValidationError) ErrorName() string
- func (e GetIcdReplyValidationError) Field() string
- func (e GetIcdReplyValidationError) Key() bool
- func (e GetIcdReplyValidationError) Reason() string
- type IcdClient
- type IcdHTTPClient
- type IcdHTTPClientImpl
- type IcdHTTPServer
- type IcdServer
- type ListIcdReply
- func (*ListIcdReply) Descriptor() ([]byte, []int)deprecated
- func (x *ListIcdReply) GetDataList() []*GetIcdReply
- func (x *ListIcdReply) GetPage() int32
- func (x *ListIcdReply) GetPerPage() int32
- func (x *ListIcdReply) GetTotal() int32
- func (*ListIcdReply) ProtoMessage()
- func (x *ListIcdReply) ProtoReflect() protoreflect.Message
- func (x *ListIcdReply) Reset()
- func (x *ListIcdReply) String() string
- func (m *ListIcdReply) Validate() error
- func (m *ListIcdReply) ValidateAll() error
- type ListIcdReplyMultiError
- type ListIcdReplyValidationError
- func (e ListIcdReplyValidationError) Cause() error
- func (e ListIcdReplyValidationError) Error() string
- func (e ListIcdReplyValidationError) ErrorName() string
- func (e ListIcdReplyValidationError) Field() string
- func (e ListIcdReplyValidationError) Key() bool
- func (e ListIcdReplyValidationError) Reason() string
- type ListIcdRequest
- func (*ListIcdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIcdRequest) GetCode() string
- func (x *ListIcdRequest) GetDiagnosis() string
- func (x *ListIcdRequest) GetPage() int32
- func (x *ListIcdRequest) GetPerPage() int32
- func (*ListIcdRequest) ProtoMessage()
- func (x *ListIcdRequest) ProtoReflect() protoreflect.Message
- func (x *ListIcdRequest) Reset()
- func (x *ListIcdRequest) String() string
- func (m *ListIcdRequest) Validate() error
- func (m *ListIcdRequest) ValidateAll() error
- type ListIcdRequestMultiError
- type ListIcdRequestValidationError
- func (e ListIcdRequestValidationError) Cause() error
- func (e ListIcdRequestValidationError) Error() string
- func (e ListIcdRequestValidationError) ErrorName() string
- func (e ListIcdRequestValidationError) Field() string
- func (e ListIcdRequestValidationError) Key() bool
- func (e ListIcdRequestValidationError) Reason() string
- type UnimplementedIcdServer
- type UnsafeIcdServer
Constants ¶
const OperationIcdListIcd = "/api.patient.icd.Icd/ListIcd"
Variables ¶
var File_api_patient_icd_icd_proto protoreflect.FileDescriptor
var Icd_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.patient.icd.Icd", HandlerType: (*IcdServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListIcd", Handler: _Icd_ListIcd_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/patient/icd/icd.proto", }
Icd_ServiceDesc is the grpc.ServiceDesc for Icd service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIcdHTTPServer ¶
func RegisterIcdHTTPServer(s *http.Server, srv IcdHTTPServer)
func RegisterIcdServer ¶
func RegisterIcdServer(s grpc.ServiceRegistrar, srv IcdServer)
Types ¶
type GetIcdReply ¶
type GetIcdReply struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Diagnosis string `protobuf:"bytes,2,opt,name=diagnosis,proto3" json:"diagnosis,omitempty"` ExtraCode string `protobuf:"bytes,3,opt,name=extraCode,proto3" json:"extraCode,omitempty"` // contains filtered or unexported fields }
func (*GetIcdReply) Descriptor
deprecated
func (*GetIcdReply) Descriptor() ([]byte, []int)
Deprecated: Use GetIcdReply.ProtoReflect.Descriptor instead.
func (*GetIcdReply) GetCode ¶
func (x *GetIcdReply) GetCode() string
func (*GetIcdReply) GetDiagnosis ¶
func (x *GetIcdReply) GetDiagnosis() string
func (*GetIcdReply) GetExtraCode ¶
func (x *GetIcdReply) GetExtraCode() string
func (*GetIcdReply) ProtoMessage ¶
func (*GetIcdReply) ProtoMessage()
func (*GetIcdReply) ProtoReflect ¶
func (x *GetIcdReply) ProtoReflect() protoreflect.Message
func (*GetIcdReply) Reset ¶
func (x *GetIcdReply) Reset()
func (*GetIcdReply) String ¶
func (x *GetIcdReply) String() string
func (*GetIcdReply) Validate ¶
func (m *GetIcdReply) Validate() error
Validate checks the field values on GetIcdReply 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 (*GetIcdReply) ValidateAll ¶
func (m *GetIcdReply) ValidateAll() error
ValidateAll checks the field values on GetIcdReply 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 GetIcdReplyMultiError, or nil if none found.
type GetIcdReplyMultiError ¶
type GetIcdReplyMultiError []error
GetIcdReplyMultiError is an error wrapping multiple validation errors returned by GetIcdReply.ValidateAll() if the designated constraints aren't met.
func (GetIcdReplyMultiError) AllErrors ¶
func (m GetIcdReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetIcdReplyMultiError) Error ¶
func (m GetIcdReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetIcdReplyValidationError ¶
type GetIcdReplyValidationError struct {
// contains filtered or unexported fields
}
GetIcdReplyValidationError is the validation error returned by GetIcdReply.Validate if the designated constraints aren't met.
func (GetIcdReplyValidationError) Cause ¶
func (e GetIcdReplyValidationError) Cause() error
Cause function returns cause value.
func (GetIcdReplyValidationError) Error ¶
func (e GetIcdReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GetIcdReplyValidationError) ErrorName ¶
func (e GetIcdReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GetIcdReplyValidationError) Field ¶
func (e GetIcdReplyValidationError) Field() string
Field function returns field value.
func (GetIcdReplyValidationError) Key ¶
func (e GetIcdReplyValidationError) Key() bool
Key function returns key value.
func (GetIcdReplyValidationError) Reason ¶
func (e GetIcdReplyValidationError) Reason() string
Reason function returns reason value.
type IcdClient ¶
type IcdClient interface {
ListIcd(ctx context.Context, in *ListIcdRequest, opts ...grpc.CallOption) (*ListIcdReply, error)
}
IcdClient is the client API for Icd 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 NewIcdClient ¶
func NewIcdClient(cc grpc.ClientConnInterface) IcdClient
type IcdHTTPClient ¶
type IcdHTTPClient interface {
ListIcd(ctx context.Context, req *ListIcdRequest, opts ...http.CallOption) (rsp *ListIcdReply, err error)
}
func NewIcdHTTPClient ¶
func NewIcdHTTPClient(client *http.Client) IcdHTTPClient
type IcdHTTPClientImpl ¶
type IcdHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*IcdHTTPClientImpl) ListIcd ¶
func (c *IcdHTTPClientImpl) ListIcd(ctx context.Context, in *ListIcdRequest, opts ...http.CallOption) (*ListIcdReply, error)
type IcdHTTPServer ¶
type IcdHTTPServer interface {
ListIcd(context.Context, *ListIcdRequest) (*ListIcdReply, error)
}
type IcdServer ¶
type IcdServer interface { ListIcd(context.Context, *ListIcdRequest) (*ListIcdReply, error) // contains filtered or unexported methods }
IcdServer is the server API for Icd service. All implementations must embed UnimplementedIcdServer for forward compatibility
type ListIcdReply ¶
type ListIcdReply struct { DataList []*GetIcdReply `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 (*ListIcdReply) Descriptor
deprecated
func (*ListIcdReply) Descriptor() ([]byte, []int)
Deprecated: Use ListIcdReply.ProtoReflect.Descriptor instead.
func (*ListIcdReply) GetDataList ¶
func (x *ListIcdReply) GetDataList() []*GetIcdReply
func (*ListIcdReply) GetPage ¶
func (x *ListIcdReply) GetPage() int32
func (*ListIcdReply) GetPerPage ¶
func (x *ListIcdReply) GetPerPage() int32
func (*ListIcdReply) GetTotal ¶
func (x *ListIcdReply) GetTotal() int32
func (*ListIcdReply) ProtoMessage ¶
func (*ListIcdReply) ProtoMessage()
func (*ListIcdReply) ProtoReflect ¶
func (x *ListIcdReply) ProtoReflect() protoreflect.Message
func (*ListIcdReply) Reset ¶
func (x *ListIcdReply) Reset()
func (*ListIcdReply) String ¶
func (x *ListIcdReply) String() string
func (*ListIcdReply) Validate ¶
func (m *ListIcdReply) Validate() error
Validate checks the field values on ListIcdReply 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 (*ListIcdReply) ValidateAll ¶
func (m *ListIcdReply) ValidateAll() error
ValidateAll checks the field values on ListIcdReply 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 ListIcdReplyMultiError, or nil if none found.
type ListIcdReplyMultiError ¶
type ListIcdReplyMultiError []error
ListIcdReplyMultiError is an error wrapping multiple validation errors returned by ListIcdReply.ValidateAll() if the designated constraints aren't met.
func (ListIcdReplyMultiError) AllErrors ¶
func (m ListIcdReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListIcdReplyMultiError) Error ¶
func (m ListIcdReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListIcdReplyValidationError ¶
type ListIcdReplyValidationError struct {
// contains filtered or unexported fields
}
ListIcdReplyValidationError is the validation error returned by ListIcdReply.Validate if the designated constraints aren't met.
func (ListIcdReplyValidationError) Cause ¶
func (e ListIcdReplyValidationError) Cause() error
Cause function returns cause value.
func (ListIcdReplyValidationError) Error ¶
func (e ListIcdReplyValidationError) Error() string
Error satisfies the builtin error interface
func (ListIcdReplyValidationError) ErrorName ¶
func (e ListIcdReplyValidationError) ErrorName() string
ErrorName returns error name.
func (ListIcdReplyValidationError) Field ¶
func (e ListIcdReplyValidationError) Field() string
Field function returns field value.
func (ListIcdReplyValidationError) Key ¶
func (e ListIcdReplyValidationError) Key() bool
Key function returns key value.
func (ListIcdReplyValidationError) Reason ¶
func (e ListIcdReplyValidationError) Reason() string
Reason function returns reason value.
type ListIcdRequest ¶
type ListIcdRequest 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"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` Diagnosis string `protobuf:"bytes,4,opt,name=diagnosis,proto3" json:"diagnosis,omitempty"` // contains filtered or unexported fields }
func (*ListIcdRequest) Descriptor
deprecated
func (*ListIcdRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIcdRequest.ProtoReflect.Descriptor instead.
func (*ListIcdRequest) GetCode ¶
func (x *ListIcdRequest) GetCode() string
func (*ListIcdRequest) GetDiagnosis ¶
func (x *ListIcdRequest) GetDiagnosis() string
func (*ListIcdRequest) GetPage ¶
func (x *ListIcdRequest) GetPage() int32
func (*ListIcdRequest) GetPerPage ¶
func (x *ListIcdRequest) GetPerPage() int32
func (*ListIcdRequest) ProtoMessage ¶
func (*ListIcdRequest) ProtoMessage()
func (*ListIcdRequest) ProtoReflect ¶
func (x *ListIcdRequest) ProtoReflect() protoreflect.Message
func (*ListIcdRequest) Reset ¶
func (x *ListIcdRequest) Reset()
func (*ListIcdRequest) String ¶
func (x *ListIcdRequest) String() string
func (*ListIcdRequest) Validate ¶
func (m *ListIcdRequest) Validate() error
Validate checks the field values on ListIcdRequest 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 (*ListIcdRequest) ValidateAll ¶
func (m *ListIcdRequest) ValidateAll() error
ValidateAll checks the field values on ListIcdRequest 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 ListIcdRequestMultiError, or nil if none found.
type ListIcdRequestMultiError ¶
type ListIcdRequestMultiError []error
ListIcdRequestMultiError is an error wrapping multiple validation errors returned by ListIcdRequest.ValidateAll() if the designated constraints aren't met.
func (ListIcdRequestMultiError) AllErrors ¶
func (m ListIcdRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListIcdRequestMultiError) Error ¶
func (m ListIcdRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListIcdRequestValidationError ¶
type ListIcdRequestValidationError struct {
// contains filtered or unexported fields
}
ListIcdRequestValidationError is the validation error returned by ListIcdRequest.Validate if the designated constraints aren't met.
func (ListIcdRequestValidationError) Cause ¶
func (e ListIcdRequestValidationError) Cause() error
Cause function returns cause value.
func (ListIcdRequestValidationError) Error ¶
func (e ListIcdRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListIcdRequestValidationError) ErrorName ¶
func (e ListIcdRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListIcdRequestValidationError) Field ¶
func (e ListIcdRequestValidationError) Field() string
Field function returns field value.
func (ListIcdRequestValidationError) Key ¶
func (e ListIcdRequestValidationError) Key() bool
Key function returns key value.
func (ListIcdRequestValidationError) Reason ¶
func (e ListIcdRequestValidationError) Reason() string
Reason function returns reason value.
type UnimplementedIcdServer ¶
type UnimplementedIcdServer struct { }
UnimplementedIcdServer must be embedded to have forward compatible implementations.
func (UnimplementedIcdServer) ListIcd ¶
func (UnimplementedIcdServer) ListIcd(context.Context, *ListIcdRequest) (*ListIcdReply, error)
type UnsafeIcdServer ¶
type UnsafeIcdServer interface {
// contains filtered or unexported methods
}
UnsafeIcdServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IcdServer will result in compilation errors.