Versions in this module Expand all Collapse all v0 v0.0.1 Nov 17, 2023 Changes in this version + var Example_Gender_name = map[int32]string + var Example_Gender_value = map[string]int32 + var File_example_v1alpha1_example_proto protoreflect.FileDescriptor + func RegisterExampleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterExampleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ExampleServiceClient) error + func RegisterExampleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterExampleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ExampleServiceServer) error + func RegisterExampleServiceServer(s *grpc.Server, srv ExampleServiceServer) + type Example struct + Gender Example_Gender + Id int32 + PurchaseDate string + func (*Example) Descriptor() ([]byte, []int) + func (*Example) ProtoMessage() + func (m *Example) Validate() error + func (x *Example) GetGender() Example_Gender + func (x *Example) GetId() int32 + func (x *Example) GetPurchaseDate() string + func (x *Example) ProtoReflect() protoreflect.Message + func (x *Example) Reset() + func (x *Example) String() string + type ExampleDeleteRequest struct + Id int32 + func (*ExampleDeleteRequest) Descriptor() ([]byte, []int) + func (*ExampleDeleteRequest) ProtoMessage() + func (m *ExampleDeleteRequest) Validate() error + func (x *ExampleDeleteRequest) GetId() int32 + func (x *ExampleDeleteRequest) ProtoReflect() protoreflect.Message + func (x *ExampleDeleteRequest) Reset() + func (x *ExampleDeleteRequest) String() string + type ExampleDeleteRequestValidationError struct + func (e ExampleDeleteRequestValidationError) Cause() error + func (e ExampleDeleteRequestValidationError) Error() string + func (e ExampleDeleteRequestValidationError) ErrorName() string + func (e ExampleDeleteRequestValidationError) Field() string + func (e ExampleDeleteRequestValidationError) Key() bool + func (e ExampleDeleteRequestValidationError) Reason() string + type ExampleDeleteResponse struct + Example *Example + func (*ExampleDeleteResponse) Descriptor() ([]byte, []int) + func (*ExampleDeleteResponse) ProtoMessage() + func (m *ExampleDeleteResponse) Validate() error + func (x *ExampleDeleteResponse) GetExample() *Example + func (x *ExampleDeleteResponse) ProtoReflect() protoreflect.Message + func (x *ExampleDeleteResponse) Reset() + func (x *ExampleDeleteResponse) String() string + type ExampleDeleteResponseValidationError struct + func (e ExampleDeleteResponseValidationError) Cause() error + func (e ExampleDeleteResponseValidationError) Error() string + func (e ExampleDeleteResponseValidationError) ErrorName() string + func (e ExampleDeleteResponseValidationError) Field() string + func (e ExampleDeleteResponseValidationError) Key() bool + func (e ExampleDeleteResponseValidationError) Reason() string + type ExampleGetRequest struct + func (*ExampleGetRequest) Descriptor() ([]byte, []int) + func (*ExampleGetRequest) ProtoMessage() + func (m *ExampleGetRequest) Validate() error + func (x *ExampleGetRequest) ProtoReflect() protoreflect.Message + func (x *ExampleGetRequest) Reset() + func (x *ExampleGetRequest) String() string + type ExampleGetRequestValidationError struct + func (e ExampleGetRequestValidationError) Cause() error + func (e ExampleGetRequestValidationError) Error() string + func (e ExampleGetRequestValidationError) ErrorName() string + func (e ExampleGetRequestValidationError) Field() string + func (e ExampleGetRequestValidationError) Key() bool + func (e ExampleGetRequestValidationError) Reason() string + type ExampleGetResponse struct + Example []*Example + func (*ExampleGetResponse) Descriptor() ([]byte, []int) + func (*ExampleGetResponse) ProtoMessage() + func (m *ExampleGetResponse) Validate() error + func (x *ExampleGetResponse) GetExample() []*Example + func (x *ExampleGetResponse) ProtoReflect() protoreflect.Message + func (x *ExampleGetResponse) Reset() + func (x *ExampleGetResponse) String() string + type ExampleGetResponseValidationError struct + func (e ExampleGetResponseValidationError) Cause() error + func (e ExampleGetResponseValidationError) Error() string + func (e ExampleGetResponseValidationError) ErrorName() string + func (e ExampleGetResponseValidationError) Field() string + func (e ExampleGetResponseValidationError) Key() bool + func (e ExampleGetResponseValidationError) Reason() string + type ExamplePostRequest struct + Example *Example + func (*ExamplePostRequest) Descriptor() ([]byte, []int) + func (*ExamplePostRequest) ProtoMessage() + func (m *ExamplePostRequest) Validate() error + func (x *ExamplePostRequest) GetExample() *Example + func (x *ExamplePostRequest) ProtoReflect() protoreflect.Message + func (x *ExamplePostRequest) Reset() + func (x *ExamplePostRequest) String() string + type ExamplePostRequestValidationError struct + func (e ExamplePostRequestValidationError) Cause() error + func (e ExamplePostRequestValidationError) Error() string + func (e ExamplePostRequestValidationError) ErrorName() string + func (e ExamplePostRequestValidationError) Field() string + func (e ExamplePostRequestValidationError) Key() bool + func (e ExamplePostRequestValidationError) Reason() string + type ExamplePostResponse struct + Example *Example + func (*ExamplePostResponse) Descriptor() ([]byte, []int) + func (*ExamplePostResponse) ProtoMessage() + func (m *ExamplePostResponse) Validate() error + func (x *ExamplePostResponse) GetExample() *Example + func (x *ExamplePostResponse) ProtoReflect() protoreflect.Message + func (x *ExamplePostResponse) Reset() + func (x *ExamplePostResponse) String() string + type ExamplePostResponseValidationError struct + func (e ExamplePostResponseValidationError) Cause() error + func (e ExamplePostResponseValidationError) Error() string + func (e ExamplePostResponseValidationError) ErrorName() string + func (e ExamplePostResponseValidationError) Field() string + func (e ExamplePostResponseValidationError) Key() bool + func (e ExamplePostResponseValidationError) Reason() string + type ExampleServiceClient interface + ExampleDelete func(ctx context.Context, in *ExampleDeleteRequest, opts ...grpc.CallOption) (*ExampleDeleteResponse, error) + ExampleGet func(ctx context.Context, in *ExampleGetRequest, opts ...grpc.CallOption) (*ExampleGetResponse, error) + ExamplePost func(ctx context.Context, in *ExamplePostRequest, opts ...grpc.CallOption) (*ExamplePostResponse, error) + Heartbeat func(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error) + func NewExampleServiceClient(cc grpc.ClientConnInterface) ExampleServiceClient + type ExampleServiceServer interface + ExampleDelete func(context.Context, *ExampleDeleteRequest) (*ExampleDeleteResponse, error) + ExampleGet func(context.Context, *ExampleGetRequest) (*ExampleGetResponse, error) + ExamplePost func(context.Context, *ExamplePostRequest) (*ExamplePostResponse, error) + Heartbeat func(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error) + type ExampleValidationError struct + func (e ExampleValidationError) Cause() error + func (e ExampleValidationError) Error() string + func (e ExampleValidationError) ErrorName() string + func (e ExampleValidationError) Field() string + func (e ExampleValidationError) Key() bool + func (e ExampleValidationError) Reason() string + type Example_Gender int32 + const Example_FEMALE + const Example_MALE + const Example_UNSPECIFIED + func (Example_Gender) Descriptor() protoreflect.EnumDescriptor + func (Example_Gender) EnumDescriptor() ([]byte, []int) + func (Example_Gender) Type() protoreflect.EnumType + func (x Example_Gender) Enum() *Example_Gender + func (x Example_Gender) Number() protoreflect.EnumNumber + func (x Example_Gender) String() string + type HeartbeatRequest struct + func (*HeartbeatRequest) Descriptor() ([]byte, []int) + func (*HeartbeatRequest) ProtoMessage() + func (m *HeartbeatRequest) Validate() error + func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message + func (x *HeartbeatRequest) Reset() + func (x *HeartbeatRequest) String() string + type HeartbeatRequestValidationError struct + func (e HeartbeatRequestValidationError) Cause() error + func (e HeartbeatRequestValidationError) Error() string + func (e HeartbeatRequestValidationError) ErrorName() string + func (e HeartbeatRequestValidationError) Field() string + func (e HeartbeatRequestValidationError) Key() bool + func (e HeartbeatRequestValidationError) Reason() string + type HeartbeatResponse struct + func (*HeartbeatResponse) Descriptor() ([]byte, []int) + func (*HeartbeatResponse) ProtoMessage() + func (m *HeartbeatResponse) Validate() error + func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message + func (x *HeartbeatResponse) Reset() + func (x *HeartbeatResponse) String() string + type HeartbeatResponseValidationError struct + func (e HeartbeatResponseValidationError) Cause() error + func (e HeartbeatResponseValidationError) Error() string + func (e HeartbeatResponseValidationError) ErrorName() string + func (e HeartbeatResponseValidationError) Field() string + func (e HeartbeatResponseValidationError) Key() bool + func (e HeartbeatResponseValidationError) Reason() string + type UnimplementedExampleServiceServer struct + func (UnimplementedExampleServiceServer) ExampleDelete(context.Context, *ExampleDeleteRequest) (*ExampleDeleteResponse, error) + func (UnimplementedExampleServiceServer) ExampleGet(context.Context, *ExampleGetRequest) (*ExampleGetResponse, error) + func (UnimplementedExampleServiceServer) ExamplePost(context.Context, *ExamplePostRequest) (*ExamplePostResponse, error) + func (UnimplementedExampleServiceServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error) + type UnsafeExampleServiceServer interface