Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
KeepAlivePeriod = 300
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a single unique connection with convenience methods to return a Limited bufio.Reader, Writer, and Closer. Limited Reader provides a circuit breaker for out of bound requests.
func (*Client) Reader ¶
Return Limited Bufio Reader Callers should invoke ResetLimit to reset read limits to original value.
func (*Client) ResetLimit ¶
func (c *Client) ResetLimit()
Reset the read limit back to original value. It is expected to be reset for every new cmd or read "session".
Click to show internal directories.
Click to hide internal directories.