tap

package
v18.9.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTapServer

func RegisterTapServer(s *grpc.Server, srv TapServer)

Types

type TapClient

type TapClient interface {
	Tap(ctx context.Context, in *public.TapRequest, opts ...grpc.CallOption) (Tap_TapClient, error)
	TapByResource(ctx context.Context, in *public.TapByResourceRequest, opts ...grpc.CallOption) (Tap_TapByResourceClient, error)
}

TapClient is the client API for Tap service.

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

func NewTapClient

func NewTapClient(cc *grpc.ClientConn) TapClient

type TapServer

type TapServer interface {
	Tap(*public.TapRequest, Tap_TapServer) error
	TapByResource(*public.TapByResourceRequest, Tap_TapByResourceServer) error
}

TapServer is the server API for Tap service.

type Tap_TapByResourceClient added in v0.4.1

type Tap_TapByResourceClient interface {
	Recv() (*public.TapEvent, error)
	grpc.ClientStream
}

type Tap_TapByResourceServer added in v0.4.1

type Tap_TapByResourceServer interface {
	Send(*public.TapEvent) error
	grpc.ServerStream
}

type Tap_TapClient

type Tap_TapClient interface {
	Recv() (*public.TapEvent, error)
	grpc.ClientStream
}

type Tap_TapServer

type Tap_TapServer interface {
	Send(*public.TapEvent) error
	grpc.ServerStream
}

Jump to

Keyboard shortcuts

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