Versions in this module Expand all Collapse all v1 v1.0.1 Feb 10, 2021 v1.0.0 Jan 25, 2021 Changes in this version + const ClientVersion + type Client struct + func NewClient(network, address, user string, useCompression bool) (c *Client, err error) + func (c *Client) Check(ctx context.Context, r io.Reader) (rs *response.Response, err error) + func (c *Client) DisableCompression() + func (c *Client) DisableRawBody() + func (c *Client) DisableTLS() + func (c *Client) DisableTLSVerification() + func (c *Client) EnableCompression() + func (c *Client) EnableRawBody() + func (c *Client) EnableTLS() + func (c *Client) EnableTLSVerification() + func (c *Client) Headers(ctx context.Context, r io.Reader) (rs *response.Response, err error) + func (c *Client) Learn(ctx context.Context, r io.Reader, l request.MsgType) (rs *response.Response, err error) + func (c *Client) Ping(ctx context.Context) (s bool, err error) + func (c *Client) Process(ctx context.Context, r io.Reader) (rs *response.Response, err error) + func (c *Client) Report(ctx context.Context, r io.Reader) (rs *response.Response, err error) + func (c *Client) ReportIfSpam(ctx context.Context, r io.Reader) (rs *response.Response, err error) + func (c *Client) Revoke(ctx context.Context, r io.Reader) (rs *response.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) + func (c *Client) SetRootCA(p string) (err error) + func (c *Client) SetUser(u string) + func (c *Client) Symbols(ctx context.Context, r io.Reader) (rs *response.Response, err error) + func (c *Client) Tell(ctx context.Context, r io.Reader, l request.MsgType, a request.TellAction) (rs *response.Response, err error)