Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientRawCodec ¶
type ClientRawCodec struct {
// contains filtered or unexported fields
}
ClientRawCodec is codec for goridge connection.
func NewClientRawCodec ¶
func NewClientRawCodec(rwc io.ReadWriteCloser) *ClientRawCodec
NewClientRawCodec initiates new server rpc codec over socket connection.
func (*ClientRawCodec) Close ¶
func (c *ClientRawCodec) Close() error
Close closes the client connection.
func (*ClientRawCodec) GetFrame ¶
func (c *ClientRawCodec) GetFrame() *frame.Frame
func (*ClientRawCodec) PutFrame ¶
func (c *ClientRawCodec) PutFrame(f *frame.Frame)
func (*ClientRawCodec) Read ¶
func (c *ClientRawCodec) Read() (out []byte, err error)
ReadResponseBody response from the connection.
func (*ClientRawCodec) Write ¶
func (c *ClientRawCodec) Write(data []byte) error
WriteRequest writes request to the connection. Sequential.
Click to show internal directories.
Click to hide internal directories.