Documentation ¶
Index ¶
- type Client
- func (client *Client) Close()
- func (client *Client) Connect() (connection net.Conn, err error)
- func (client *Client) Dial() error
- func (client *Client) Flush() error
- func (client *Client) Read() (response string, err error)
- func (client *Client) SendHeader(name, value string) error
- func (client *Client) SendHeaders() error
- func (client *Client) SendPassword() error
- func (client *Client) Write(message string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Host string Password string Headers map[string]string Timeout time.Duration // contains filtered or unexported fields }
func (*Client) SendHeader ¶
func (*Client) SendHeaders ¶
func (*Client) SendPassword ¶
Click to show internal directories.
Click to hide internal directories.