proto

package
v0.0.0-...-8ec7c15 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_frame_proto protoreflect.FileDescriptor

Functions

func RegisterFrameServiceServer

func RegisterFrameServiceServer(s *grpc.Server, srv FrameServiceServer)

Types

type FrameMessage

type FrameMessage struct {
	Content      []byte `protobuf:"bytes,1,opt,name=Content,proto3" json:"Content,omitempty"`
	PreSharedKey string `protobuf:"bytes,2,opt,name=PreSharedKey,proto3" json:"PreSharedKey,omitempty"`
	// contains filtered or unexported fields
}

func (*FrameMessage) Descriptor deprecated

func (*FrameMessage) Descriptor() ([]byte, []int)

Deprecated: Use FrameMessage.ProtoReflect.Descriptor instead.

func (*FrameMessage) GetContent

func (x *FrameMessage) GetContent() []byte

func (*FrameMessage) GetPreSharedKey

func (x *FrameMessage) GetPreSharedKey() string

func (*FrameMessage) ProtoMessage

func (*FrameMessage) ProtoMessage()

func (*FrameMessage) ProtoReflect

func (x *FrameMessage) ProtoReflect() protoreflect.Message

func (*FrameMessage) Reset

func (x *FrameMessage) Reset()

func (*FrameMessage) String

func (x *FrameMessage) String() string

type FrameServiceClient

type FrameServiceClient interface {
	TransceiveFrames(ctx context.Context, opts ...grpc.CallOption) (FrameService_TransceiveFramesClient, error)
}

FrameServiceClient is the client API for FrameService service.

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

type FrameServiceServer

type FrameServiceServer interface {
	TransceiveFrames(FrameService_TransceiveFramesServer) error
}

FrameServiceServer is the server API for FrameService service.

type FrameService_TransceiveFramesClient

type FrameService_TransceiveFramesClient interface {
	Send(*FrameMessage) error
	Recv() (*FrameMessage, error)
	grpc.ClientStream
}

type FrameService_TransceiveFramesServer

type FrameService_TransceiveFramesServer interface {
	Send(*FrameMessage) error
	Recv() (*FrameMessage, error)
	grpc.ServerStream
}

type UnimplementedFrameServiceServer

type UnimplementedFrameServiceServer struct {
}

UnimplementedFrameServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedFrameServiceServer) TransceiveFrames

Jump to

Keyboard shortcuts

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