cl

package
v0.18.8 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: GPL-3.0 Imports: 4 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 {
	// contains filtered or unexported fields
}

func New

func New(network string, address string) (c *Client, err error)

func (*Client) Close

func (c *Client) Close() (err error)

func (*Client) CreateAbortRequest

func (c *Client) CreateAbortRequest(requestId uint16) (ba []byte)

5.4. FCGI_ABORT_REQUEST.

func (*Client) CreateBeginRequest

func (c *Client) CreateBeginRequest(requestId uint16, role dm.Role, flags byte) (ba []byte)

5.1. FCGI_BEGIN_REQUEST.

func (*Client) CreateDataRequest

func (c *Client) CreateDataRequest(requestId uint16, data []byte) (ba []byte, err error)

5.3.2. FCGI_DATA.

func (*Client) CreateEndRequest

func (c *Client) CreateEndRequest(requestId uint16, appStatus uint32, protocolStatus byte) (ba []byte)

5.5. FCGI_END_REQUEST.

func (*Client) CreateGetValuesRequest

func (c *Client) CreateGetValuesRequest(params []*nvpair.NameValuePair) (ba []byte, err error)

4.1.1. FCGI_GET_VALUES.

func (*Client) CreateGetValuesResultRequest

func (c *Client) CreateGetValuesResultRequest(params []*nvpair.NameValuePair) (ba []byte, err error)

4.1.2. FCGI_GET_VALUES_RESULT.

func (*Client) CreateParamsRequest

func (c *Client) CreateParamsRequest(requestId uint16, params []*nvpair.NameValuePair) (ba []byte, err error)

5.2. FCGI_PARAMS.

func (*Client) CreateStdErrRequest

func (c *Client) CreateStdErrRequest(requestId uint16, stderr []byte) (ba []byte, err error)

5.3.4. FCGI_STDERR.

func (*Client) CreateStdInRequest

func (c *Client) CreateStdInRequest(requestId uint16, stdin []byte) (ba []byte, err error)

5.3.1. FCGI_STDIN.

func (*Client) CreateStdOutRequest

func (c *Client) CreateStdOutRequest(requestId uint16, stdout []byte) (ba []byte, err error)

5.3.3. FCGI_STDOUT.

func (*Client) CreateUnknownTypeRequest

func (c *Client) CreateUnknownTypeRequest(recordType dm.RecordType) (ba []byte)

4.2. FCGI_UNKNOWN_TYPE.

func (*Client) ReadRawRecord

func (c *Client) ReadRawRecord() (r *dm.Record, err error)

func (*Client) ReadResponseUntilEnd

func (c *Client) ReadResponseUntilEnd() (recs []*dm.Record, err error)

func (*Client) SendRequest

func (c *Client) SendRequest(data []byte) (err error)

Jump to

Keyboard shortcuts

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