protos

package
v0.0.0-...-89602ce Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_provider_proto protoreflect.FileDescriptor

Functions

func RegisterStreamProviderServer

func RegisterStreamProviderServer(s *grpc.Server, srv StreamProviderServer)

Types

type StreamProviderClient

type StreamProviderClient interface {
	GetUpdates(ctx context.Context, in *protos.StreamRequest, opts ...grpc.CallOption) (*protos.DataUpdateBatch, error)
}

StreamProviderClient is the client API for StreamProvider service.

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

type StreamProviderServer

type StreamProviderServer interface {
	GetUpdates(context.Context, *protos.StreamRequest) (*protos.DataUpdateBatch, error)
}

StreamProviderServer is the server API for StreamProvider service.

type UnimplementedStreamProviderServer

type UnimplementedStreamProviderServer struct {
}

UnimplementedStreamProviderServer can be embedded to have forward compatible implementations.

func (*UnimplementedStreamProviderServer) GetUpdates

Jump to

Keyboard shortcuts

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