Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientStreamWrapper ¶
type ClientStreamWrapper struct {
Stream proto.PdhService_TransmitClient
}
func NewClientStreamWrapper ¶
func NewClientStreamWrapper(stream proto.PdhService_TransmitClient) *ClientStreamWrapper
type GrpcStream ¶
type MessageHandler ¶
type MessageHandler interface {
HandleMessage(stream GrpcStream, msg *proto.Message)
}
type ServerStreamWrapper ¶
type ServerStreamWrapper struct { Stream proto.PdhService_TransmitServer Ch chan *proto.Message WriteToCh atomic.Bool // contains filtered or unexported fields }
func NewServerStreamWrapper ¶
func NewServerStreamWrapper(stream proto.PdhService_TransmitServer) *ServerStreamWrapper
func (*ServerStreamWrapper) StartWriteToChannel ¶
func (s *ServerStreamWrapper) StartWriteToChannel()
func (*ServerStreamWrapper) StopWriteToChannel ¶
func (s *ServerStreamWrapper) StopWriteToChannel()
Click to show internal directories.
Click to hide internal directories.