Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ShodanAppInfo ¶
type ShodanAppInfo struct { Name string `json:"name"` Description string `json:"des"` Icon string `json:"icon"` ID string `json:"id"` VersionMajor string `json:"version_major"` VersionMinor string `json:"version_minor"` VersionRevision string `json:"version_revision"` VersionGit string `json:"version_git"` SingleGuildMode string `json:"single_guild_mode"` }
ShodanAppInfo holds meta information requested by the UI on load.
func CurrentApplicationInfo ¶
func CurrentApplicationInfo() (*ShodanAppInfo, error)
CurrentApplicationInfo gets the app information from Discord
type ShodanRole ¶
A ShodanRole represents a managed discord role
func DBGetAvailableRoles ¶
func DBGetAvailableRoles(db *sql.DB, guild string) ([]*ShodanRole, error)
DBGetAvailableRoles returns the assigned roles for a guild
Click to show internal directories.
Click to hide internal directories.