Documentation ¶
Index ¶
- Variables
- func RegisterFrameServiceServer(s *grpc.Server, srv FrameServiceServer)
- type FrameMessage
- func (*FrameMessage) Descriptor() ([]byte, []int)deprecated
- func (x *FrameMessage) GetContent() []byte
- func (x *FrameMessage) GetPreSharedKey() string
- func (*FrameMessage) ProtoMessage()
- func (x *FrameMessage) ProtoReflect() protoreflect.Message
- func (x *FrameMessage) Reset()
- func (x *FrameMessage) String() string
- type FrameServiceClient
- type FrameServiceServer
- type FrameService_TransceiveFramesClient
- type FrameService_TransceiveFramesServer
- type UnimplementedFrameServiceServer
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"` // 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.
func NewFrameServiceClient ¶
func NewFrameServiceClient(cc grpc.ClientConnInterface) FrameServiceClient
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 ¶
func (*UnimplementedFrameServiceServer) TransceiveFrames(FrameService_TransceiveFramesServer) error
Click to show internal directories.
Click to hide internal directories.