Documentation ¶ Index ¶ type Codec func (c *Codec) Close() error func (c *Codec) ReadBody(b interface{}) error func (c *Codec) ReadHeader(m *codec.Message, t codec.MessageType) error func (c *Codec) String() string func (c *Codec) Write(m *codec.Message, b interface{}) error type Frame Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Codec ¶ type Codec struct { Conn io.ReadWriteCloser } func (*Codec) Close ¶ func (c *Codec) Close() error func (*Codec) ReadBody ¶ func (c *Codec) ReadBody(b interface{}) error func (*Codec) ReadHeader ¶ func (c *Codec) ReadHeader(m *codec.Message, t codec.MessageType) error func (*Codec) String ¶ func (c *Codec) String() string func (*Codec) Write ¶ func (c *Codec) Write(m *codec.Message, b interface{}) error type Frame ¶ type Frame struct { Data []byte } Frame givens us the ability to define raw data to send over pipes Source Files ¶ View all Source files text.go Click to show internal directories. Click to hide internal directories.