Documentation ¶
Overview ¶
Test codec
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLengthBasedFrame ¶
Types ¶
type LengthBasedFrame ¶
type LengthBasedFrame struct {
// contains filtered or unexported fields
}
func (*LengthBasedFrame) NewCodec ¶
func (b *LengthBasedFrame) NewCodec(rw io.ReadWriter) (cc net2.Codec, err error)
type LengthBasedFrameCodec ¶
type LengthBasedFrameCodec struct {
// contains filtered or unexported fields
}
func (*LengthBasedFrameCodec) Close ¶
func (c *LengthBasedFrameCodec) Close() error
func (*LengthBasedFrameCodec) Receive ¶
func (c *LengthBasedFrameCodec) Receive() (interface{}, error)
func (*LengthBasedFrameCodec) Send ¶
func (c *LengthBasedFrameCodec) Send(msg interface{}) error
type LengthBasedFrameStream ¶
type LengthBasedFrameStream struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.