Versions in this module Expand all Collapse all v1 v1.0.1 Feb 10, 2021 v1.0.0 Jan 26, 2021 Changes in this version + const AvastSock + const DefaultCmdTimeout + const DefaultSleep + const DefaultTimeout + var ZeroTime time.Time + type Client struct + func NewClient(ctx context.Context, address string, connTimeOut, ioTimeOut time.Duration) (c *Client, err error) + func (c *Client) CheckURL(u string) (r bool, err error) + func (c *Client) Close() (err error) + func (c *Client) GetExclude() (r string, err error) + func (c *Client) GetFlags() (f string, err error) + func (c *Client) GetPack() (p string, err error) + func (c *Client) GetSensitivity() (f string, err error) + func (c *Client) Scan(p string) (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) + func (c *Client) SetExclude(p string) (err error) + func (c *Client) SetFlags(o Flag, v bool) (err error) + func (c *Client) SetPack(o PackOption, v bool) (err error) + func (c *Client) SetSensitivity(o SensiOption, v bool) (err error) + func (c *Client) Vps() (v int, err error) + type Command int + const CheckURL + const Exclude + const Flags + const Pack + const Quit + const Scan + const Sensitivity + const Vps + func (c Command) Len() (l int) + func (c Command) String() (s string) + type Flag int + const AllFiles + const FullFiles + const ScanDevices + func (f Flag) Disable() (s string) + func (f Flag) Enable() (s string) + func (f Flag) String() (s string) + type PackOption int + const Ace + const Arc + const Arj + const Bzip2 + const Cab + const Chm + const Cpio + const Dbx + const Dmg + const Exec + const Gz + const Install + const Iso + const Lharc + const Mime + const Ole + const Rar + const Rpm + const Sys + const Szip + const Tar + const Tnef + const WinExec + const Zip + const Zoo + func (p PackOption) Disable() (s string) + func (p PackOption) Enable() (s string) + func (p PackOption) String() (s string) + type Response struct + ArchiveItem string + Filename string + Infected bool + Raw string + Signature string + Status string + type SensiOption int + const Adware + const Dangerous + const Dialer + const Dropper + const Exploit + const Joke + const Kit + const Pube + const Pup + const Rootkit + const Spyware + const Suspicious + const Trojan + const Worm + func (so SensiOption) Disable() (s string) + func (so SensiOption) Enable() (s string) + func (so SensiOption) String() (s string)