egress

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterEgressFilterServer

func RegisterEgressFilterServer(s *grpc.Server, srv EgressFilterServer)

Types

type EgressFilterClient

type EgressFilterClient interface {
	Filter(ctx context.Context, in *payload.Search_Response, opts ...grpc.CallOption) (*payload.Search_Response, error)
	StreamFilter(ctx context.Context, opts ...grpc.CallOption) (EgressFilter_StreamFilterClient, error)
}

EgressFilterClient is the client API for EgressFilter service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEgressFilterClient

func NewEgressFilterClient(cc *grpc.ClientConn) EgressFilterClient

type EgressFilterServer

type EgressFilterServer interface {
	Filter(context.Context, *payload.Search_Response) (*payload.Search_Response, error)
	StreamFilter(EgressFilter_StreamFilterServer) error
}

EgressFilterServer is the server API for EgressFilter service.

type EgressFilter_StreamFilterClient

type EgressFilter_StreamFilterClient interface {
	Send(*payload.Object_Distance) error
	Recv() (*payload.Object_Distance, error)
	grpc.ClientStream
}

type EgressFilter_StreamFilterServer

type EgressFilter_StreamFilterServer interface {
	Send(*payload.Object_Distance) error
	Recv() (*payload.Object_Distance, error)
	grpc.ServerStream
}

type UnimplementedEgressFilterServer

type UnimplementedEgressFilterServer struct {
}

UnimplementedEgressFilterServer can be embedded to have forward compatible implementations.

func (*UnimplementedEgressFilterServer) Filter

func (*UnimplementedEgressFilterServer) StreamFilter

Jump to

Keyboard shortcuts

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