package shodan import ( "git.tcp.direct/perp/shogo/internal/shodan/alert" "git.tcp.direct/perp/shogo/internal/shodan/scan" ) // Shodan manager type Shodan struct { Scan *scan.Scan // Scan commands Alert *alert.Alert // Alert commands Flags *Flags // Command flags Results chan string // Results channel } type Flags struct { // General flags Args []string // Command arguments Query string // Search query Facets string // Facet flters Threads int // Thread amount // Info flags Profile bool // Profile info // Search flags Fields []string // Filter fields Separator string // Filter separator Pages int // Page amount Page int // Page number }