Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command int
A Command represents a Clamd Command
const ( // Ping is the PING command Ping Command = iota + 1 // Version is the VERSION command Version // Reload is the RELOAD command Reload // Shutdown is the SHUTDOWN command Shutdown // Scan is the SCAN command Scan // ContScan is the CONTSCAN command ContScan // MultiScan is the MULTISCAN command MultiScan // Instream is the INSTREAM command Instream // Fildes is the FILDES command Fildes // Stats is the STATS command Stats // IDSession is the IDSESSION command IDSession // EndSession is the END command EndSession // VersionCmds is the VERSIONCOMMANDS command VersionCmds )
func (Command) RequiresParam ¶
RequiresParam returns a bool to indicate if command takes a file or directory as a param
Click to show internal directories.
Click to hide internal directories.