Documentation ¶
Overview ¶
Code generated by aggproto. DO NOT EDIT.
Code generated by aggproto. DO NOT EDIT.
Code generated by aggproto. DO NOT EDIT.
Index ¶
- Variables
- func RegisterMockListingServiceServer(s grpc.ServiceRegistrar, srv MockListingServiceServer)
- type MockListingRequest
- type MockListingResponse
- func (*MockListingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MockListingResponse) GetListing() *MockListingResponse_ListingGen
- func (*MockListingResponse) ProtoMessage()
- func (x *MockListingResponse) ProtoReflect() protoreflect.Message
- func (x *MockListingResponse) Reset()
- func (x *MockListingResponse) String() string
- type MockListingResponse_ListingGen
- func (*MockListingResponse_ListingGen) Descriptor() ([]byte, []int)deprecated
- func (x *MockListingResponse_ListingGen) GetDescription() string
- func (x *MockListingResponse_ListingGen) GetTitle() string
- func (*MockListingResponse_ListingGen) ProtoMessage()
- func (x *MockListingResponse_ListingGen) ProtoReflect() protoreflect.Message
- func (x *MockListingResponse_ListingGen) Reset()
- func (x *MockListingResponse_ListingGen) String() string
- type MockListingServiceClient
- type MockListingServiceServer
- type UnimplementedMockListingServiceServer
- type UnsafeMockListingServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_static_primitives_v1_mock_listing_proto protoreflect.FileDescriptor
var MockListingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "static_primitives_v1.MockListingService", HandlerType: (*MockListingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "InvokeMockListing", Handler: _MockListingService_InvokeMockListing_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "static_primitives_v1/mock_listing.proto", }
MockListingService_ServiceDesc is the grpc.ServiceDesc for MockListingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMockListingServiceServer ¶
func RegisterMockListingServiceServer(s grpc.ServiceRegistrar, srv MockListingServiceServer)
Types ¶
type MockListingRequest ¶
type MockListingRequest struct {
// contains filtered or unexported fields
}
func (*MockListingRequest) Descriptor
deprecated
func (*MockListingRequest) Descriptor() ([]byte, []int)
Deprecated: Use MockListingRequest.ProtoReflect.Descriptor instead.
func (*MockListingRequest) ProtoMessage ¶
func (*MockListingRequest) ProtoMessage()
func (*MockListingRequest) ProtoReflect ¶
func (x *MockListingRequest) ProtoReflect() protoreflect.Message
func (*MockListingRequest) Reset ¶
func (x *MockListingRequest) Reset()
func (*MockListingRequest) String ¶
func (x *MockListingRequest) String() string
type MockListingResponse ¶
type MockListingResponse struct { Listing *MockListingResponse_ListingGen `protobuf:"bytes,1,opt,name=listing,proto3" json:"listing,omitempty"` // contains filtered or unexported fields }
func (*MockListingResponse) Descriptor
deprecated
func (*MockListingResponse) Descriptor() ([]byte, []int)
Deprecated: Use MockListingResponse.ProtoReflect.Descriptor instead.
func (*MockListingResponse) GetListing ¶
func (x *MockListingResponse) GetListing() *MockListingResponse_ListingGen
func (*MockListingResponse) ProtoMessage ¶
func (*MockListingResponse) ProtoMessage()
func (*MockListingResponse) ProtoReflect ¶
func (x *MockListingResponse) ProtoReflect() protoreflect.Message
func (*MockListingResponse) Reset ¶
func (x *MockListingResponse) Reset()
func (*MockListingResponse) String ¶
func (x *MockListingResponse) String() string
type MockListingResponse_ListingGen ¶
type MockListingResponse_ListingGen struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*MockListingResponse_ListingGen) Descriptor
deprecated
func (*MockListingResponse_ListingGen) Descriptor() ([]byte, []int)
Deprecated: Use MockListingResponse_ListingGen.ProtoReflect.Descriptor instead.
func (*MockListingResponse_ListingGen) GetDescription ¶
func (x *MockListingResponse_ListingGen) GetDescription() string
func (*MockListingResponse_ListingGen) GetTitle ¶
func (x *MockListingResponse_ListingGen) GetTitle() string
func (*MockListingResponse_ListingGen) ProtoMessage ¶
func (*MockListingResponse_ListingGen) ProtoMessage()
func (*MockListingResponse_ListingGen) ProtoReflect ¶
func (x *MockListingResponse_ListingGen) ProtoReflect() protoreflect.Message
func (*MockListingResponse_ListingGen) Reset ¶
func (x *MockListingResponse_ListingGen) Reset()
func (*MockListingResponse_ListingGen) String ¶
func (x *MockListingResponse_ListingGen) String() string
type MockListingServiceClient ¶
type MockListingServiceClient interface {
InvokeMockListing(ctx context.Context, in *MockListingRequest, opts ...grpc.CallOption) (*MockListingResponse, error)
}
MockListingServiceClient is the client API for MockListingService 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 NewMockListingServiceClient ¶
func NewMockListingServiceClient(cc grpc.ClientConnInterface) MockListingServiceClient
type MockListingServiceServer ¶
type MockListingServiceServer interface { InvokeMockListing(context.Context, *MockListingRequest) (*MockListingResponse, error) // contains filtered or unexported methods }
MockListingServiceServer is the server API for MockListingService service. All implementations must embed UnimplementedMockListingServiceServer for forward compatibility
func New ¶
func New() MockListingServiceServer
type UnimplementedMockListingServiceServer ¶
type UnimplementedMockListingServiceServer struct { }
UnimplementedMockListingServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMockListingServiceServer) InvokeMockListing ¶
func (UnimplementedMockListingServiceServer) InvokeMockListing(context.Context, *MockListingRequest) (*MockListingResponse, error)
type UnsafeMockListingServiceServer ¶
type UnsafeMockListingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMockListingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MockListingServiceServer will result in compilation errors.