Documentation ¶
Overview ¶
Package sophie implements the sophie protocol Sophie - Golang Sophie protocol implementation
Index ¶
- type Client
- func (c *Client) Scan(ctx context.Context, p string) (r *Response, err error)
- func (c *Client) ScanReader(ctx context.Context, i io.Reader) (r *Response, err error)
- func (c *Client) SetCmdTimeout(t time.Duration)
- func (c *Client) SetConnRetries(s int)
- func (c *Client) SetConnSleep(s time.Duration)
- func (c *Client) SetConnTimeout(t time.Duration)
- type Response
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
}
A Client represents a Sophie client.
func (*Client) ScanReader ¶
ScanReader scans an io.reader
func (*Client) SetCmdTimeout ¶
SetCmdTimeout sets the cmd timeout
func (*Client) SetConnRetries ¶
SetConnRetries sets the number of times connection is retried
func (*Client) SetConnSleep ¶
SetConnSleep sets the connection retry sleep duration in seconds
func (*Client) SetConnTimeout ¶
SetConnTimeout sets the connection timeout
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
sophiescan
Package main Sophie - Golang cmdline sophie client Package main Sophie - Golang cmdline sophie client
|
Package main Sophie - Golang cmdline sophie client Package main Sophie - Golang cmdline sophie client |
Click to show internal directories.
Click to hide internal directories.