client

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	IP         string
	PORT       int
	Conn       net.Conn
	Use_Base64 bool
	Delimiter  []byte
	BUF_SIZE   int
}

func New added in v1.1.6

func New(ip string, port int, conf *quickproto.Config) *Client

func (*Client) Addr

func (c *Client) Addr() string

func (*Client) Connect

func (c *Client) Connect() error

func (*Client) Read

func (c *Client) Read() (*quickproto.Message, error)

func (*Client) Terminate

func (c *Client) Terminate() error

func (*Client) Write

func (c *Client) Write(msg *quickproto.Message) error

Jump to

Keyboard shortcuts

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