Documentation ¶
Overview ¶
Package fsecure Golang F-Secure client Library Fsecure - Golang F-Secure client Library
Package fsecure Golang F-Secure client Library Fsecure - Golang F-Secure client Library
Index ¶
Constants ¶
View Source
const (
// FsavSock is the default socket location
FsavSock = "/tmp/.fsav-0"
)
Variables ¶
View Source
var ( // ZeroTime holds the zero value of time ZeroTime time.Time )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // Config holds the fsav config options Config *Config // contains filtered or unexported fields }
A Client represents a Fsecure client.
func NewClient ¶
func NewClient(ctx context.Context, address string, connTimeOut, ioTimeOut time.Duration) (c *Client, err error)
NewClient creates and returns a new instance of Client
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) SetOptions ¶
SetOptions sets the fsav config options on the server
type Config ¶
type Config struct { Mime BoolField RiskWare BoolField StopOnFirst BoolField Timeout IntField Archive BoolField }
Config holds Fsecure fsav options
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
fsecurescan
Package fprot Golang F-Prot client Fprot - Golang F-Prot client Package main Golang F-Secure client Fsecure - Golang F-Secure client
|
Package fprot Golang F-Prot client Fprot - Golang F-Prot client Package main Golang F-Secure client Fsecure - Golang F-Secure client |
Package main Golang F-Secure client Library example program Fsecure - Golang F-Secure client Library example program
|
Package main Golang F-Secure client Library example program Fsecure - Golang F-Secure client Library example program |
Click to show internal directories.
Click to hide internal directories.