pbfinder

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pbcmdb_pbfinder_pbfinder_proto protoreflect.FileDescriptor
View Source
var File_pbcmdb_pbfinder_service_proto protoreflect.FileDescriptor
View Source
var FinderService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "org.listware.sdk.pbcmdb.pbfinder.FinderService",
	HandlerType: (*FinderServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Links",
			Handler:    _FinderService_Links_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pbcmdb/pbfinder/service.proto",
}

FinderService_ServiceDesc is the grpc.ServiceDesc for FinderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterFinderServiceServer

func RegisterFinderServiceServer(s grpc.ServiceRegistrar, srv FinderServiceServer)

Types

type FinderServiceClient

type FinderServiceClient interface {
	Links(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}

FinderServiceClient is the client API for FinderService 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.

type FinderServiceServer

type FinderServiceServer interface {
	Links(context.Context, *Request) (*Response, error)
	// contains filtered or unexported methods
}

FinderServiceServer is the server API for FinderService service. All implementations must embed UnimplementedFinderServiceServer for forward compatibility

type Request

type Request struct {
	From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To   string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

func (*Request) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetFrom

func (x *Request) GetFrom() string

func (*Request) GetName

func (x *Request) GetName() string

func (*Request) GetTo

func (x *Request) GetTo() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Response

type Response struct {
	Links []*pbcmdb.Response `protobuf:"bytes,1,rep,name=Links,proto3" json:"Links,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

func (*Response) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (x *Response) GetLinks() []*pbcmdb.Response

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type UnimplementedFinderServiceServer

type UnimplementedFinderServiceServer struct {
}

UnimplementedFinderServiceServer must be embedded to have forward compatible implementations.

type UnsafeFinderServiceServer

type UnsafeFinderServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeFinderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FinderServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL