Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelpCommand ¶
type HelpCommand struct{}
HelpCommand is an empty struct that holds this commands methods
func (*HelpCommand) GetNames ¶
func (*HelpCommand) GetNames() []string
GetNames returns the command aliases for this command
func (*HelpCommand) Invoke ¶
func (command *HelpCommand) Invoke(ci *shodan.CommandInvocation) error
Invoke runs the command. This command will block a user. Currently inoperable.
type IgnoreCommand ¶
type IgnoreCommand struct{}
IgnoreCommand is an empty struct that holds this commands methods
func (*IgnoreCommand) GetNames ¶
func (*IgnoreCommand) GetNames() []string
GetNames returns the command aliases for this command
func (*IgnoreCommand) Invoke ¶
func (command *IgnoreCommand) Invoke(ci *shodan.CommandInvocation) error
Invoke runs the command. This command will block a user. Currently inoperable.
type MemoryCommand ¶
type MemoryCommand struct{}
MemoryCommand is an empty struct that holds this commands methods
func (*MemoryCommand) GetNames ¶
func (command *MemoryCommand) GetNames() []string
GetNames returns the command aliases for this command
func (*MemoryCommand) Invoke ¶
func (command *MemoryCommand) Invoke(ci *shodan.CommandInvocation) error
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module holds data for this module and implements the shodan.Module interface
func (*Module) GetIdentifier ¶
GetIdentifier returns the identifier for this module
type VersionCommand ¶
type VersionCommand struct {
// contains filtered or unexported fields
}
VersionCommand holds information for this command, including bot startup time and a MemStats struct pointer
func (*VersionCommand) GetNames ¶
func (vc *VersionCommand) GetNames() []string
GetNames returns the command aliases for this command
func (*VersionCommand) Invoke ¶
func (vc *VersionCommand) Invoke(ci *shodan.CommandInvocation) error
Invoke runs the command. This commands returns a rich embed with version and runtime information.