raw

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL