rpcpb

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterEdgeDeviceServer

func RegisterEdgeDeviceServer(s *grpc.Server, srv EdgeDeviceServer)

Types

type EdgeDeviceClient

type EdgeDeviceClient interface {
	Sync(ctx context.Context, opts ...grpc.CallOption) (EdgeDevice_SyncClient, error)
}

EdgeDeviceClient is the client API for EdgeDevice service.

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

func NewEdgeDeviceClient

func NewEdgeDeviceClient(cc *grpc.ClientConn) EdgeDeviceClient

type EdgeDeviceServer

type EdgeDeviceServer interface {
	Sync(EdgeDevice_SyncServer) error
}

EdgeDeviceServer is the server API for EdgeDevice service.

type EdgeDevice_SyncClient

type EdgeDevice_SyncClient interface {
	Send(*aranyagopb.Msg) error
	Recv() (*aranyagopb.Cmd, error)
	grpc.ClientStream
}

type EdgeDevice_SyncServer

type EdgeDevice_SyncServer interface {
	Send(*aranyagopb.Cmd) error
	Recv() (*aranyagopb.Msg, error)
	grpc.ServerStream
}

type UnimplementedEdgeDeviceServer

type UnimplementedEdgeDeviceServer struct {
}

UnimplementedEdgeDeviceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEdgeDeviceServer) Sync

Jump to

Keyboard shortcuts

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