Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_apis_proto_v1_filter_egress_egress_filter_proto protoreflect.FileDescriptor
var Filter_ServiceDesc = grpc.ServiceDesc{ ServiceName: "filter.egress.v1.Filter", HandlerType: (*FilterServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "FilterDistance", Handler: _Filter_FilterDistance_Handler, }, { MethodName: "FilterVector", Handler: _Filter_FilterVector_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "apis/proto/v1/filter/egress/egress_filter.proto", }
Filter_ServiceDesc is the grpc.ServiceDesc for Filter service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFilterServer ¶
func RegisterFilterServer(s grpc.ServiceRegistrar, srv FilterServer)
Types ¶
type FilterClient ¶
type FilterClient interface { // Represent the RPC to filter the distance. FilterDistance(ctx context.Context, in *payload.Object_Distance, opts ...grpc.CallOption) (*payload.Object_Distance, error) // Represent the RPC to filter the vector. 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewFilterClient ¶
func NewFilterClient(cc grpc.ClientConnInterface) FilterClient
type FilterServer ¶
type FilterServer interface { // Represent the RPC to filter the distance. FilterDistance(context.Context, *payload.Object_Distance) (*payload.Object_Distance, error) // Represent the RPC to filter the vector. FilterVector(context.Context, *payload.Object_Vector) (*payload.Object_Vector, error) // contains filtered or unexported methods }
FilterServer is the server API for Filter service. All implementations must embed UnimplementedFilterServer for forward compatibility
type UnimplementedFilterServer ¶
type UnimplementedFilterServer struct { }
UnimplementedFilterServer must be embedded to have forward compatible implementations.
func (UnimplementedFilterServer) FilterDistance ¶
func (UnimplementedFilterServer) FilterDistance(context.Context, *payload.Object_Distance) (*payload.Object_Distance, error)
func (UnimplementedFilterServer) FilterVector ¶
func (UnimplementedFilterServer) FilterVector(context.Context, *payload.Object_Vector) (*payload.Object_Vector, error)
type UnsafeFilterServer ¶ added in v1.2.1
type UnsafeFilterServer interface {
// contains filtered or unexported methods
}
UnsafeFilterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FilterServer will result in compilation errors.