connection

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	// contains filtered or unexported fields
}

func NewConn

func NewConn(nc net.Conn) (*Conn, error)

func (*Conn) Close

func (c *Conn) Close() error

func (*Conn) Read

func (c *Conn) Read(b []byte) (int, error)

func (*Conn) ReadData

func (c *Conn) ReadData() ([]byte, error)

func (*Conn) ReadSeparatedBytes

func (c *Conn) ReadSeparatedBytes() ([]byte, error)

func (*Conn) ReadString

func (c *Conn) ReadString() (string, error)

func (*Conn) SkipOk

func (c *Conn) SkipOk() error

func (*Conn) WriteArray

func (c *Conn) WriteArray(args ...string) error

func (*Conn) WriteBulkString

func (c *Conn) WriteBulkString(str string) error

func (*Conn) WriteCommand

func (c *Conn) WriteCommand(command string, args ...string) error

Jump to

Keyboard shortcuts

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