Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFilterServer ¶
func RegisterFilterServer(s *grpc.Server, srv FilterServer)
Types ¶
type FilterClient ¶
type FilterClient interface { GenVector(ctx context.Context, in *payload.Object_Blob, opts ...grpc.CallOption) (*payload.Object_Vector, error) FilterVector(ctx context.Context, in *payload.Object_Vector, opts ...grpc.CallOption) (*payload.Object_Vector, error) }
FilterClient is the client API for Filter service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFilterClient ¶
func NewFilterClient(cc *grpc.ClientConn) FilterClient
type FilterServer ¶
type FilterServer interface { GenVector(context.Context, *payload.Object_Blob) (*payload.Object_Vector, error) FilterVector(context.Context, *payload.Object_Vector) (*payload.Object_Vector, error) }
FilterServer is the server API for Filter service.
type UnimplementedFilterServer ¶
type UnimplementedFilterServer struct { }
UnimplementedFilterServer can be embedded to have forward compatible implementations.
func (*UnimplementedFilterServer) FilterVector ¶
func (*UnimplementedFilterServer) FilterVector(ctx context.Context, req *payload.Object_Vector) (*payload.Object_Vector, error)
func (*UnimplementedFilterServer) GenVector ¶
func (*UnimplementedFilterServer) GenVector(ctx context.Context, req *payload.Object_Blob) (*payload.Object_Vector, error)
Click to show internal directories.
Click to hide internal directories.