Versions in this module Expand all Collapse all v1 v1.0.1 Dec 8, 2022 v1.0.0 Nov 24, 2022 Changes in this version + const OperationGreeterCreateGreeter + const OperationGreeterDeleteGreeter + const OperationGreeterFindGreeter + const OperationGreeterGetGreeter + const OperationGreeterUpdateGreeter + var File_greeter_proto_greeter_proto protoreflect.FileDescriptor + var Greeter_ServiceDesc = grpc.ServiceDesc + func RegisterGreeterHTTPServer(s *http.Server, srv GreeterHTTPServer) + func RegisterGreeterServer(s grpc.ServiceRegistrar, srv GreeterServer) + type CreateGreeterRequest struct + Age int32 + Name string + func (*CreateGreeterRequest) Descriptor() ([]byte, []int) + func (*CreateGreeterRequest) ProtoMessage() + func (m *CreateGreeterRequest) Validate() error + func (m *CreateGreeterRequest) ValidateAll() error + func (x *CreateGreeterRequest) GetAge() int32 + func (x *CreateGreeterRequest) GetName() string + func (x *CreateGreeterRequest) ProtoReflect() protoreflect.Message + func (x *CreateGreeterRequest) Reset() + func (x *CreateGreeterRequest) String() string + type CreateGreeterRequestMultiError []error + func (m CreateGreeterRequestMultiError) AllErrors() []error + func (m CreateGreeterRequestMultiError) Error() string + type CreateGreeterRequestValidationError struct + func (e CreateGreeterRequestValidationError) Cause() error + func (e CreateGreeterRequestValidationError) Error() string + func (e CreateGreeterRequestValidationError) ErrorName() string + func (e CreateGreeterRequestValidationError) Field() string + func (e CreateGreeterRequestValidationError) Key() bool + func (e CreateGreeterRequestValidationError) Reason() string + type FindGreeterReply struct + List []*GreeterReply + Page *Page + func (*FindGreeterReply) Descriptor() ([]byte, []int) + func (*FindGreeterReply) ProtoMessage() + func (m *FindGreeterReply) Validate() error + func (m *FindGreeterReply) ValidateAll() error + func (x *FindGreeterReply) GetList() []*GreeterReply + func (x *FindGreeterReply) GetPage() *Page + func (x *FindGreeterReply) ProtoReflect() protoreflect.Message + func (x *FindGreeterReply) Reset() + func (x *FindGreeterReply) String() string + type FindGreeterReplyMultiError []error + func (m FindGreeterReplyMultiError) AllErrors() []error + func (m FindGreeterReplyMultiError) Error() string + type FindGreeterReplyValidationError struct + func (e FindGreeterReplyValidationError) Cause() error + func (e FindGreeterReplyValidationError) Error() string + func (e FindGreeterReplyValidationError) ErrorName() string + func (e FindGreeterReplyValidationError) Field() string + func (e FindGreeterReplyValidationError) Key() bool + func (e FindGreeterReplyValidationError) Reason() string + type FindGreeterRequest struct + Age *int32 + Name *string + Page *Page + func (*FindGreeterRequest) Descriptor() ([]byte, []int) + func (*FindGreeterRequest) ProtoMessage() + func (m *FindGreeterRequest) Validate() error + func (m *FindGreeterRequest) ValidateAll() error + func (x *FindGreeterRequest) GetAge() int32 + func (x *FindGreeterRequest) GetName() string + func (x *FindGreeterRequest) GetPage() *Page + func (x *FindGreeterRequest) ProtoReflect() protoreflect.Message + func (x *FindGreeterRequest) Reset() + func (x *FindGreeterRequest) String() string + type FindGreeterRequestMultiError []error + func (m FindGreeterRequestMultiError) AllErrors() []error + func (m FindGreeterRequestMultiError) Error() string + type FindGreeterRequestValidationError struct + func (e FindGreeterRequestValidationError) Cause() error + func (e FindGreeterRequestValidationError) Error() string + func (e FindGreeterRequestValidationError) ErrorName() string + func (e FindGreeterRequestValidationError) Field() string + func (e FindGreeterRequestValidationError) Key() bool + func (e FindGreeterRequestValidationError) Reason() string + type GetGreeterReply struct + Age int32 + Id uint64 + Name string + func (*GetGreeterReply) Descriptor() ([]byte, []int) + func (*GetGreeterReply) ProtoMessage() + func (m *GetGreeterReply) Validate() error + func (m *GetGreeterReply) ValidateAll() error + func (x *GetGreeterReply) GetAge() int32 + func (x *GetGreeterReply) GetId() uint64 + func (x *GetGreeterReply) GetName() string + func (x *GetGreeterReply) ProtoReflect() protoreflect.Message + func (x *GetGreeterReply) Reset() + func (x *GetGreeterReply) String() string + type GetGreeterReplyMultiError []error + func (m GetGreeterReplyMultiError) AllErrors() []error + func (m GetGreeterReplyMultiError) Error() string + type GetGreeterReplyValidationError struct + func (e GetGreeterReplyValidationError) Cause() error + func (e GetGreeterReplyValidationError) Error() string + func (e GetGreeterReplyValidationError) ErrorName() string + func (e GetGreeterReplyValidationError) Field() string + func (e GetGreeterReplyValidationError) Key() bool + func (e GetGreeterReplyValidationError) Reason() string + type GetGreeterRequest struct + Id uint64 + func (*GetGreeterRequest) Descriptor() ([]byte, []int) + func (*GetGreeterRequest) ProtoMessage() + func (m *GetGreeterRequest) Validate() error + func (m *GetGreeterRequest) ValidateAll() error + func (x *GetGreeterRequest) GetId() uint64 + func (x *GetGreeterRequest) ProtoReflect() protoreflect.Message + func (x *GetGreeterRequest) Reset() + func (x *GetGreeterRequest) String() string + type GetGreeterRequestMultiError []error + func (m GetGreeterRequestMultiError) AllErrors() []error + func (m GetGreeterRequestMultiError) Error() string + type GetGreeterRequestValidationError struct + func (e GetGreeterRequestValidationError) Cause() error + func (e GetGreeterRequestValidationError) Error() string + func (e GetGreeterRequestValidationError) ErrorName() string + func (e GetGreeterRequestValidationError) Field() string + func (e GetGreeterRequestValidationError) Key() bool + func (e GetGreeterRequestValidationError) Reason() string + type GreeterClient interface + CreateGreeter func(ctx context.Context, in *CreateGreeterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + DeleteGreeter func(ctx context.Context, in *IdsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + FindGreeter func(ctx context.Context, in *FindGreeterRequest, opts ...grpc.CallOption) (*FindGreeterReply, error) + GetGreeter func(ctx context.Context, in *GetGreeterRequest, opts ...grpc.CallOption) (*GetGreeterReply, error) + UpdateGreeter func(ctx context.Context, in *UpdateGreeterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewGreeterClient(cc grpc.ClientConnInterface) GreeterClient + type GreeterHTTPClient interface + CreateGreeter func(ctx context.Context, req *CreateGreeterRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + DeleteGreeter func(ctx context.Context, req *IdsRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + FindGreeter func(ctx context.Context, req *FindGreeterRequest, opts ...http.CallOption) (rsp *FindGreeterReply, err error) + GetGreeter func(ctx context.Context, req *GetGreeterRequest, opts ...http.CallOption) (rsp *GetGreeterReply, err error) + UpdateGreeter func(ctx context.Context, req *UpdateGreeterRequest, opts ...http.CallOption) (rsp *emptypb.Empty, err error) + func NewGreeterHTTPClient(client *http.Client) GreeterHTTPClient + type GreeterHTTPClientImpl struct + func (c *GreeterHTTPClientImpl) CreateGreeter(ctx context.Context, in *CreateGreeterRequest, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *GreeterHTTPClientImpl) DeleteGreeter(ctx context.Context, in *IdsRequest, opts ...http.CallOption) (*emptypb.Empty, error) + func (c *GreeterHTTPClientImpl) FindGreeter(ctx context.Context, in *FindGreeterRequest, opts ...http.CallOption) (*FindGreeterReply, error) + func (c *GreeterHTTPClientImpl) GetGreeter(ctx context.Context, in *GetGreeterRequest, opts ...http.CallOption) (*GetGreeterReply, error) + func (c *GreeterHTTPClientImpl) UpdateGreeter(ctx context.Context, in *UpdateGreeterRequest, opts ...http.CallOption) (*emptypb.Empty, error) + type GreeterHTTPServer interface + CreateGreeter func(context.Context, *CreateGreeterRequest) (*emptypb.Empty, error) + DeleteGreeter func(context.Context, *IdsRequest) (*emptypb.Empty, error) + FindGreeter func(context.Context, *FindGreeterRequest) (*FindGreeterReply, error) + GetGreeter func(context.Context, *GetGreeterRequest) (*GetGreeterReply, error) + UpdateGreeter func(context.Context, *UpdateGreeterRequest) (*emptypb.Empty, error) + type GreeterReply struct + Age int32 + Id uint64 + Name string + func (*GreeterReply) Descriptor() ([]byte, []int) + func (*GreeterReply) ProtoMessage() + func (m *GreeterReply) Validate() error + func (m *GreeterReply) ValidateAll() error + func (x *GreeterReply) GetAge() int32 + func (x *GreeterReply) GetId() uint64 + func (x *GreeterReply) GetName() string + func (x *GreeterReply) ProtoReflect() protoreflect.Message + func (x *GreeterReply) Reset() + func (x *GreeterReply) String() string + type GreeterReplyMultiError []error + func (m GreeterReplyMultiError) AllErrors() []error + func (m GreeterReplyMultiError) Error() string + type GreeterReplyValidationError struct + func (e GreeterReplyValidationError) Cause() error + func (e GreeterReplyValidationError) Error() string + func (e GreeterReplyValidationError) ErrorName() string + func (e GreeterReplyValidationError) Field() string + func (e GreeterReplyValidationError) Key() bool + func (e GreeterReplyValidationError) Reason() string + type GreeterServer interface + CreateGreeter func(context.Context, *CreateGreeterRequest) (*emptypb.Empty, error) + DeleteGreeter func(context.Context, *IdsRequest) (*emptypb.Empty, error) + FindGreeter func(context.Context, *FindGreeterRequest) (*FindGreeterReply, error) + GetGreeter func(context.Context, *GetGreeterRequest) (*GetGreeterReply, error) + UpdateGreeter func(context.Context, *UpdateGreeterRequest) (*emptypb.Empty, error) + type IdsRequest struct + Ids string + func (*IdsRequest) Descriptor() ([]byte, []int) + func (*IdsRequest) ProtoMessage() + func (m *IdsRequest) Validate() error + func (m *IdsRequest) ValidateAll() error + func (x *IdsRequest) GetIds() string + func (x *IdsRequest) ProtoReflect() protoreflect.Message + func (x *IdsRequest) Reset() + func (x *IdsRequest) String() string + type IdsRequestMultiError []error + func (m IdsRequestMultiError) AllErrors() []error + func (m IdsRequestMultiError) Error() string + type IdsRequestValidationError struct + func (e IdsRequestValidationError) Cause() error + func (e IdsRequestValidationError) Error() string + func (e IdsRequestValidationError) ErrorName() string + func (e IdsRequestValidationError) Field() string + func (e IdsRequestValidationError) Key() bool + func (e IdsRequestValidationError) Reason() string + type Page struct + Disable bool + Num uint64 + Size uint64 + Total int64 + func (*Page) Descriptor() ([]byte, []int) + func (*Page) ProtoMessage() + func (m *Page) Validate() error + func (m *Page) ValidateAll() error + func (x *Page) GetDisable() bool + func (x *Page) GetNum() uint64 + func (x *Page) GetSize() uint64 + func (x *Page) GetTotal() int64 + func (x *Page) ProtoReflect() protoreflect.Message + func (x *Page) Reset() + func (x *Page) String() string + type PageMultiError []error + func (m PageMultiError) AllErrors() []error + func (m PageMultiError) Error() string + type PageValidationError struct + func (e PageValidationError) Cause() error + func (e PageValidationError) Error() string + func (e PageValidationError) ErrorName() string + func (e PageValidationError) Field() string + func (e PageValidationError) Key() bool + func (e PageValidationError) Reason() string + type UnimplementedGreeterServer struct + func (UnimplementedGreeterServer) CreateGreeter(context.Context, *CreateGreeterRequest) (*emptypb.Empty, error) + func (UnimplementedGreeterServer) DeleteGreeter(context.Context, *IdsRequest) (*emptypb.Empty, error) + func (UnimplementedGreeterServer) FindGreeter(context.Context, *FindGreeterRequest) (*FindGreeterReply, error) + func (UnimplementedGreeterServer) GetGreeter(context.Context, *GetGreeterRequest) (*GetGreeterReply, error) + func (UnimplementedGreeterServer) UpdateGreeter(context.Context, *UpdateGreeterRequest) (*emptypb.Empty, error) + type UnsafeGreeterServer interface + type UpdateGreeterRequest struct + Age *int32 + Id uint64 + Name *string + func (*UpdateGreeterRequest) Descriptor() ([]byte, []int) + func (*UpdateGreeterRequest) ProtoMessage() + func (m *UpdateGreeterRequest) Validate() error + func (m *UpdateGreeterRequest) ValidateAll() error + func (x *UpdateGreeterRequest) GetAge() int32 + func (x *UpdateGreeterRequest) GetId() uint64 + func (x *UpdateGreeterRequest) GetName() string + func (x *UpdateGreeterRequest) ProtoReflect() protoreflect.Message + func (x *UpdateGreeterRequest) Reset() + func (x *UpdateGreeterRequest) String() string + type UpdateGreeterRequestMultiError []error + func (m UpdateGreeterRequestMultiError) AllErrors() []error + func (m UpdateGreeterRequestMultiError) Error() string + type UpdateGreeterRequestValidationError struct + func (e UpdateGreeterRequestValidationError) Cause() error + func (e UpdateGreeterRequestValidationError) Error() string + func (e UpdateGreeterRequestValidationError) ErrorName() string + func (e UpdateGreeterRequestValidationError) Field() string + func (e UpdateGreeterRequestValidationError) Key() bool + func (e UpdateGreeterRequestValidationError) Reason() string