SYMBOL INDEX (303 symbols across 53 files) FILE: controller.go type Manager (line 41) | type Manager interface type Controller (line 49) | type Controller struct method Subscribe (line 71) | func (c *Controller) Subscribe(topic string, fn interface{}) error { method SubscribeOnce (line 75) | func (c *Controller) SubscribeOnce(topic string, fn interface{}) error { method Unsubscribe (line 79) | func (c *Controller) Unsubscribe(topic string, fn interface{}) error { method Publish (line 83) | func (c *Controller) Publish(topic string, args ...interface{}) { method getData (line 87) | func (c *Controller) getData(plugType string, targets []string, files,... method getURL (line 145) | func (c *Controller) getURL(url string) ([]byte, error) { method getFiles (line 173) | func (c *Controller) getFiles(file string) ([]byte, error) { function NewController (line 54) | func NewController(input Input) *Controller { function NewControllerTest (line 64) | func NewControllerTest() *Controller { FILE: dorker/dork.go constant DEFAULT_DEPTH (line 24) | DEFAULT_DEPTH = 1 constant DEFAULT_TIMEOUT (line 25) | DEFAULT_TIMEOUT = 30 type dorkLib (line 28) | type dorkLib method GetByType (line 164) | func (dl dorkLib) GetByType(typ string) []Dork { method GetByEngine (line 171) | func (dl dorkLib) GetByEngine(typ, engine string) []Dork { type Dork (line 187) | type Dork struct method GetEngine (line 193) | func (d *Dork) GetEngine() string { method GetSrting (line 198) | func (d *Dork) GetSrting() string { method UpdateDork (line 203) | func (d *Dork) UpdateDork(engine, site, term string) { method UpdateEngine (line 222) | func (d *Dork) UpdateEngine(engine string) { method UpdateString (line 229) | func (d *Dork) UpdateString(site, term string) { function NewDork (line 247) | func NewDork(engine, term string) Dork { type Dorker (line 252) | type Dorker struct method AddDork (line 277) | func (d *Dorker) AddDork(dork Dork) { function NewDorker (line 260) | func NewDorker(userAgent string, timeout, depth int) *Dorker { FILE: dorker/dork_test.go function TestDorkGoogle (line 24) | func TestDorkGoogle(t *testing.T) { function TestGetType (line 38) | func TestGetType(t *testing.T) { function TestGetByEngine (line 64) | func TestGetByEngine(t *testing.T) { function TestUpdateDork (line 97) | func TestUpdateDork(t *testing.T) { function TestUpdateEngine (line 127) | func TestUpdateEngine(t *testing.T) { function TestUpdateString (line 141) | func TestUpdateString(t *testing.T) { FILE: dorker/google.go method Google (line 27) | func (d *Dorker) Google() (results []string) { FILE: dorker/logger.go function LogMeIn (line 8) | func LogMeIn() { FILE: dorker/logger/arena.go type arena (line 8) | type arena struct method moveSnake (line 33) | func (a *arena) moveSnake() error { method snakeLeftArena (line 51) | func (a *arena) snakeLeftArena() bool { method addPoints (line 56) | func (a *arena) addPoints(p int) { method placeFood (line 60) | func (a *arena) placeFood() { method isOccupied (line 79) | func (a *arena) isOccupied(c coord) bool { function newArena (line 17) | func newArena(s *snake, p chan (int), h, w int) *arena { function hasFood (line 75) | func hasFood(a *arena, c coord) bool { FILE: dorker/logger/arena_test.go function newDoubleArenaWithFoodFinder (line 7) | func newDoubleArenaWithFoodFinder(h, w int, f func(*arena, coord) bool) ... function newDoubleArena (line 13) | func newDoubleArena(h, w int) *arena { function TestArenaHaveFoodPlaced (line 25) | func TestArenaHaveFoodPlaced(t *testing.T) { function TestMoveSnakeOutOfArenaHeightLimit (line 31) | func TestMoveSnakeOutOfArenaHeightLimit(t *testing.T) { function TestMoveSnakeOutOfArenaWidthLimit (line 40) | func TestMoveSnakeOutOfArenaWidthLimit(t *testing.T) { function TestPlaceNewFoodWhenEatFood (line 49) | func TestPlaceNewFoodWhenEatFood(t *testing.T) { function TestIncreaseSnakeLengthWhenEatFood (line 63) | func TestIncreaseSnakeLengthWhenEatFood(t *testing.T) { function TestAddPointsWhenEatFood (line 77) | func TestAddPointsWhenEatFood(t *testing.T) { function TestDoesNotAddPointsWhenFoodNotFound (line 89) | func TestDoesNotAddPointsWhenFoodNotFound(t *testing.T) { function TestDoesNotPlaceNewFoodWhenFoodNotFound (line 104) | func TestDoesNotPlaceNewFoodWhenFoodNotFound(t *testing.T) { function TestDoesNotIncreaseSnakeLengthWhenFoodNotFound (line 118) | func TestDoesNotIncreaseSnakeLengthWhenFoodNotFound(t *testing.T) { function TestHasFood (line 132) | func TestHasFood(t *testing.T) { function TestHasNotFood (line 140) | func TestHasNotFood(t *testing.T) { FILE: dorker/logger/coord.go type coord (line 3) | type coord struct FILE: dorker/logger/food.go type food (line 9) | type food struct function newFood (line 14) | func newFood(x, y int) *food { function getFoodEmoji (line 23) | func getFoodEmoji() rune { function randomFoodEmoji (line 31) | func randomFoodEmoji() rune { function hasUnicodeSupport (line 54) | func hasUnicodeSupport() bool { FILE: dorker/logger/food_test.go function TestFoodDefaultPoints (line 8) | func TestFoodDefaultPoints(t *testing.T) { function TestFoodEmoji (line 16) | func TestFoodEmoji(t *testing.T) { function TestFoodFallback (line 24) | func TestFoodFallback(t *testing.T) { FILE: dorker/logger/game.go type Game (line 15) | type Game struct method end (line 38) | func (g *Game) end() { method moveInterval (line 42) | func (g *Game) moveInterval() time.Duration { method retry (line 47) | func (g *Game) retry() { method addPoints (line 53) | func (g *Game) addPoints(p int) { method Start (line 63) | func (g *Game) Start() { function initialSnake (line 21) | func initialSnake() *snake { function initialScore (line 30) | func initialScore() int { function initialArena (line 34) | func initialArena() *arena { function NewGame (line 58) | func NewGame() *Game { FILE: dorker/logger/game_test.go function TestDefaultGameScore (line 8) | func TestDefaultGameScore(t *testing.T) { function TestGameMoveInterval (line 16) | func TestGameMoveInterval(t *testing.T) { function TestAddPoints (line 26) | func TestAddPoints(t *testing.T) { function TestRetryGoBackToGameInitialState (line 36) | func TestRetryGoBackToGameInitialState(t *testing.T) { FILE: dorker/logger/keyboard.go type keyboardEventType (line 5) | type keyboardEventType constant MOVE (line 9) | MOVE keyboardEventType = 1 + iota constant RETRY (line 10) | RETRY constant END (line 11) | END type keyboardEvent (line 14) | type keyboardEvent struct function keyToDirection (line 19) | func keyToDirection(k termbox.Key) direction { function listenToKeyboard (line 34) | func listenToKeyboard(evChan chan keyboardEvent) { FILE: dorker/logger/keyboard_test.go function TestKeyToDirectionDefault (line 9) | func TestKeyToDirectionDefault(t *testing.T) { function TestKeyToDirectionRight (line 17) | func TestKeyToDirectionRight(t *testing.T) { function TestKeyToDirectionDown (line 25) | func TestKeyToDirectionDown(t *testing.T) { function TestKeyToDirectionLeft (line 33) | func TestKeyToDirectionLeft(t *testing.T) { function TestKeyToDirectionUp (line 41) | func TestKeyToDirectionUp(t *testing.T) { FILE: dorker/logger/presenter.go constant defaultColor (line 11) | defaultColor = termbox.ColorDefault constant bgColor (line 12) | bgColor = termbox.ColorDefault constant snakeColor (line 13) | snakeColor = termbox.ColorGreen method render (line 16) | func (g *Game) render() error { function renderSnake (line 38) | func renderSnake(left, bottom int, s *snake) { function renderFood (line 44) | func renderFood(left, bottom int, f *food) { function renderArena (line 48) | func renderArena(a *arena, top, bottom, left int) { function renderScore (line 63) | func renderScore(left, bottom, s int) { function renderQuitMessage (line 68) | func renderQuitMessage(right, bottom int) { function renderTitle (line 73) | func renderTitle(left, top int) { function fill (line 77) | func fill(x, y, w, h int, cell termbox.Cell) { function tbprint (line 85) | func tbprint(x, y int, fg, bg termbox.Attribute, msg string) { FILE: dorker/logger/presenter_test.go function TestPresenterRendersSuccessfully (line 5) | func TestPresenterRendersSuccessfully(t *testing.T) { FILE: dorker/logger/snake.go constant RIGHT (line 7) | RIGHT direction = 1 + iota constant LEFT (line 8) | LEFT constant UP (line 9) | UP constant DOWN (line 10) | DOWN type direction (line 13) | type direction type snake (line 15) | type snake struct method changeDirection (line 29) | func (s *snake) changeDirection(d direction) { method head (line 42) | func (s *snake) head() coord { method die (line 46) | func (s *snake) die() error { method move (line 50) | func (s *snake) move() error { method isOnPosition (line 78) | func (s *snake) isOnPosition(c coord) bool { function newSnake (line 21) | func newSnake(d direction, b []coord) *snake { FILE: dorker/logger/snake_test.go function newDoubleSnake (line 5) | func newDoubleSnake(d direction) *snake { function TestSnakeBodyMove (line 15) | func TestSnakeBodyMove(t *testing.T) { function TestSnakeHeadMoveRight (line 40) | func TestSnakeHeadMoveRight(t *testing.T) { function TestSnakeHeadMoveUp (line 49) | func TestSnakeHeadMoveUp(t *testing.T) { function TestSnakeHeadMoveDown (line 58) | func TestSnakeHeadMoveDown(t *testing.T) { function TestSnakeHeadMoveLeft (line 70) | func TestSnakeHeadMoveLeft(t *testing.T) { function TestChangeDirectionToNotOposity (line 79) | func TestChangeDirectionToNotOposity(t *testing.T) { function TestChangeDirectionToOposity (line 87) | func TestChangeDirectionToOposity(t *testing.T) { function TestChangeDirectionToInvalidDirection (line 95) | func TestChangeDirectionToInvalidDirection(t *testing.T) { function TestSnakeDie (line 103) | func TestSnakeDie(t *testing.T) { function TestSnakeDieWhenMoveOnTopOfItself (line 111) | func TestSnakeDieWhenMoveOnTopOfItself(t *testing.T) { FILE: dorker/parser.go function parser (line 23) | func parser(buf []byte, re string) [][]string { FILE: dorker/scrapper.go type Scrapper (line 27) | type Scrapper struct method Run (line 47) | func (s *Scrapper) Run() error { method Links (line 83) | func (s *Scrapper) Links() []string { method foo (line 91) | func (s *Scrapper) foo() {} function NewScrapper (line 39) | func NewScrapper(domain string, depth int) *Scrapper { FILE: dorker/scrapper_test.go function TestScrapper (line 23) | func TestScrapper(t *testing.T) {} FILE: dorker/webHandler.go method get (line 24) | func (d *Dorker) get(url string) ([]byte, error) { FILE: goca.go constant UserAgent (line 29) | UserAgent = "The_Goca_v0.1" function StartTerm (line 39) | func StartTerm(input Input) { function StartFolder (line 75) | func StartFolder(input Input) { function StartScrapper (line 111) | func StartScrapper(input Input) { function executePlugins (line 151) | func executePlugins(typ string, ctx *Controller) { function getDorkers (line 167) | func getDorkers(typ string, input Input) *dorker.Dorker { function validFolder (line 192) | func validFolder(folder string) bool { function listURL (line 197) | func listURL(plugType string, urls []string) { type Input (line 205) | type Input struct FILE: goca/goca.go constant banner (line 31) | banner = "Fear The Goca!" constant appName (line 32) | appName = "GOCA" function init (line 55) | func init() { function main (line 75) | func main() { function setLogLevel (line 203) | func setLogLevel() { FILE: gocaTesting/testServer/server.go function init (line 22) | func init() { function main (line 29) | func main() { function handler (line 47) | func handler(w http.ResponseWriter, req *http.Request) { function extractParts (line 128) | func extractParts(req *http.Request) (string, string) { type Asset (line 144) | type Asset struct FILE: gocaTesting/test_helpers.go type Assets (line 30) | type Assets struct function GetAssets (line 40) | func GetAssets(t *testing.T, ctrl goca.Manager, testserver, plugName str... FILE: output.go function NewOutput (line 28) | func NewOutput() *Output { type Output (line 34) | type Output struct function processOutput (line 77) | func processOutput(module, url string, out *Output) { FILE: plugin.go function RegisterPlugin (line 34) | func RegisterPlugin(name string, plugin Plugin) { function listPluginTypes (line 64) | func listPluginTypes() []string { function IsPluginTypeValid (line 73) | func IsPluginTypeValid(plugType string) bool { function ListPlugins (line 83) | func ListPlugins() map[string][]string { type Plugin (line 108) | type Plugin struct type SetupFunc (line 116) | type SetupFunc type mimeAssoc (line 118) | type mimeAssoc method addMIME (line 124) | func (m mimeAssoc) addMIME(typ string, mimes []string) { method existMime (line 132) | func (m mimeAssoc) existMime(typ, mime string) bool { method getAssoc (line 146) | func (m mimeAssoc) getAssoc(typ string) []string { function newMimeAssoc (line 120) | func newMimeAssoc() mimeAssoc { function PluginRecover (line 153) | func PluginRecover(plugName, funcName string) { FILE: plugins/doc/doc.go constant plugName (line 30) | plugName = "doc" function init (line 32) | func init() { function setup (line 48) | func setup(m goca.Manager) error { type docMetaExtractor (line 55) | type docMetaExtractor struct method readDOC (line 59) | func (doc *docMetaExtractor) readDOC(target string, data []byte) { FILE: plugins/doc/doc_test.go function TestReadDOC (line 36) | func TestReadDOC(t *testing.T) { function processOutput (line 49) | func processOutput(module, url string, out *goca.Output) { function validateCaseA (line 63) | func validateCaseA(out *goca.Output) { function validateCaseB (line 99) | func validateCaseB(out *goca.Output) { function validateCaseC (line 135) | func validateCaseC(out *goca.Output) { FILE: plugins/dsstore/dsStore.go constant plugName (line 31) | plugName = "dsstore" function init (line 33) | func init() { function setup (line 44) | func setup(m goca.Manager) error { function matcher (line 51) | func matcher(buf []byte) bool { type dsstoreMetaExtractor (line 63) | type dsstoreMetaExtractor struct method readDSSTORE (line 67) | func (dsstore *dsstoreMetaExtractor) readDSSTORE(target string, data [... FILE: plugins/dsstore/dsstore_test.go function TestReadDSSTORE (line 36) | func TestReadDSSTORE(t *testing.T) { function processOutput (line 49) | func processOutput(module, url string, out *goca.Output) { function validateCaseA (line 65) | func validateCaseA(out *goca.Output) { function validateCaseB (line 74) | func validateCaseB(out *goca.Output) { function validateCaseC (line 83) | func validateCaseC(out *goca.Output) { function validateCaseD (line 92) | func validateCaseD(out *goca.Output) { FILE: plugins/dummy/dummy.go constant plugName (line 27) | plugName = "dummy" function init (line 32) | func init() { function setup (line 47) | func setup(m goca.Manager) error { type dummyMetaExtractor (line 59) | type dummyMetaExtractor struct method handler (line 64) | func (dummy *dummyMetaExtractor) handler(url string, msg []byte) { FILE: plugins/gpx/gpx.go constant plugName (line 30) | plugName = "gpx" function init (line 32) | func init() { function setup (line 45) | func setup(m goca.Manager) error { type gpxMetaExtractor (line 52) | type gpxMetaExtractor struct method readGPX (line 56) | func (gpx *gpxMetaExtractor) readGPX(target string, data []byte) { FILE: plugins/gpx/gpx_test.go function TestReadgpx (line 36) | func TestReadgpx(t *testing.T) { function processOutput (line 49) | func processOutput(module, url string, out *goca.Output) { function validateCaseA (line 63) | func validateCaseA(out *goca.Output) { function validateCaseB (line 100) | func validateCaseB(out *goca.Output) { function validateCaseC (line 137) | func validateCaseC(out *goca.Output) { FILE: plugins/image/image.go constant plugName (line 28) | plugName = "image" function init (line 30) | func init() { function setup (line 47) | func setup(m goca.Manager) error { type imgMetaExtractor (line 54) | type imgMetaExtractor struct method readIMG (line 58) | func (img *imgMetaExtractor) readIMG(target string, data []byte) { FILE: plugins/mp3/mp3.go constant plugName (line 27) | plugName = "mp3" function init (line 29) | func init() { function setup (line 46) | func setup(m goca.Manager) error { type mp3MetaExtractor (line 53) | type mp3MetaExtractor struct method readMP3 (line 57) | func (mp3 *mp3MetaExtractor) readMP3(target string, data []byte) { FILE: plugins/mp3/mp3_test.go function TestReadMP3 (line 36) | func TestReadMP3(t *testing.T) { function processOutput (line 49) | func processOutput(module, url string, out *goca.Output) { function validateCaseA (line 61) | func validateCaseA(out *goca.Output) { function validateCaseB (line 157) | func validateCaseB(out *goca.Output) { FILE: plugins/odp/odp.go constant plugName (line 30) | plugName = "odp" function init (line 32) | func init() { function setup (line 43) | func setup(m goca.Manager) error { type odpMetaExtractor (line 50) | type odpMetaExtractor struct method readODP (line 54) | func (odp *odpMetaExtractor) readODP(target string, data []byte) { FILE: plugins/odp/odp_test.go function TestReadODP (line 36) | func TestReadODP(t *testing.T) { function processOutput (line 49) | func processOutput(module, url string, out *goca.Output) { function validateCaseA (line 63) | func validateCaseA(out *goca.Output) { function validateCaseB (line 99) | func validateCaseB(out *goca.Output) { function validateCaseC (line 135) | func validateCaseC(out *goca.Output) { FILE: plugins/ods/ods.go constant plugName (line 30) | plugName = "ods" function init (line 32) | func init() { function setup (line 43) | func setup(m goca.Manager) error { type odsMetaExtractor (line 50) | type odsMetaExtractor struct method readODS (line 54) | func (ods *odsMetaExtractor) readODS(target string, data []byte) { FILE: plugins/ods/ods_test.go function TestReadODS (line 36) | func TestReadODS(t *testing.T) { function processOutput (line 49) | func processOutput(module, url string, out *goca.Output) { function validateCaseA (line 63) | func validateCaseA(out *goca.Output) { function validateCaseB (line 99) | func validateCaseB(out *goca.Output) { function validateCaseC (line 135) | func validateCaseC(out *goca.Output) { FILE: plugins/odt/odt.go constant plugName (line 30) | plugName = "odt" function init (line 32) | func init() { function setup (line 43) | func setup(m goca.Manager) error { type odtMetaExtractor (line 50) | type odtMetaExtractor struct method readODT (line 54) | func (odt *odtMetaExtractor) readODT(target string, data []byte) { FILE: plugins/odt/odt_test.go function TestReadODT (line 36) | func TestReadODT(t *testing.T) { function processOutput (line 49) | func processOutput(module, url string, out *goca.Output) { function validateCaseA (line 63) | func validateCaseA(out *goca.Output) { function validateCaseB (line 99) | func validateCaseB(out *goca.Output) { function validateCaseC (line 135) | func validateCaseC(out *goca.Output) { FILE: plugins/pdf/pdf.go constant plugName (line 28) | plugName = "pdf" function init (line 30) | func init() { function setup (line 41) | func setup(m goca.Manager) error { type pdfMetaExtractor (line 48) | type pdfMetaExtractor struct method readPDF (line 52) | func (pdf *pdfMetaExtractor) readPDF(target string, data []byte) { FILE: plugins/pdf/pdf_test.go function Test_readPDF (line 36) | func Test_readPDF(t *testing.T) { function processOutput (line 49) | func processOutput(module, url string, out *goca.Output) { function validateCaseA (line 70) | func validateCaseA(out *goca.Output) { function validateCaseB (line 166) | func validateCaseB(out *goca.Output) { function validateCaseC (line 262) | func validateCaseC(out *goca.Output) { FILE: plugins/ppt/ppt.go constant plugName (line 30) | plugName = "ppt" function init (line 32) | func init() { function setup (line 50) | func setup(m goca.Manager) error { type pptMetaExtractor (line 57) | type pptMetaExtractor struct method readPPT (line 61) | func (ppt *pptMetaExtractor) readPPT(target string, data []byte) { FILE: plugins/ppt/ppt_test.go function TestReadPPT (line 36) | func TestReadPPT(t *testing.T) { function processOutput (line 49) | func processOutput(module, url string, out *goca.Output) { function validateCaseA (line 63) | func validateCaseA(out *goca.Output) { function validateCaseB (line 99) | func validateCaseB(out *goca.Output) { function validateCaseC (line 135) | func validateCaseC(out *goca.Output) { FILE: plugins/swf/swf.go constant plugName (line 30) | plugName = "swf" function init (line 32) | func init() { function setup (line 43) | func setup(m goca.Manager) error { type swfMetaExtractor (line 50) | type swfMetaExtractor struct method readSWF (line 54) | func (swf *swfMetaExtractor) readSWF(target string, data []byte) { FILE: plugins/swf/swf_test.go function TestReadSWF (line 36) | func TestReadSWF(t *testing.T) { function processOutput (line 49) | func processOutput(module, url string, out *goca.Output) { function validateCaseA (line 63) | func validateCaseA(out *goca.Output) { function validateCaseB (line 85) | func validateCaseB(out *goca.Output) { function validateCaseC (line 107) | func validateCaseC(out *goca.Output) { FILE: plugins/xls/xls.go constant plugName (line 30) | plugName = "xls" function init (line 32) | func init() { function setup (line 50) | func setup(m goca.Manager) error { type xlsMetaExtractor (line 57) | type xlsMetaExtractor struct method readXLS (line 61) | func (xls *xlsMetaExtractor) readXLS(target string, data []byte) { FILE: plugins/xls/xls_test.go function TestReadXLS (line 35) | func TestReadXLS(t *testing.T) { function processOutput (line 48) | func processOutput(module, url string, out *goca.Output) { function validateCaseA (line 62) | func validateCaseA(out *goca.Output) { function validateCaseB (line 98) | func validateCaseB(out *goca.Output) { function validateCaseC (line 134) | func validateCaseC(out *goca.Output) { FILE: projects.go type ProjectStore (line 36) | type ProjectStore struct method NewProject (line 69) | func (ps ProjectStore) NewProject(name string) (Project, error) { method GetProject (line 86) | func (ps ProjectStore) GetProject(name string) (Project, error) { method AddScanToProject (line 102) | func (ps ProjectStore) AddScanToProject(name string, scan bson.ObjectI... method DeleteProject (line 124) | func (ps ProjectStore) DeleteProject(name string) error { method SaveScan (line 139) | func (ps ProjectStore) SaveScan(project string, output *Output) error { method GetScan (line 161) | func (ps ProjectStore) GetScan(id bson.ObjectID) (Scan, error) { method GetProjectList (line 173) | func (ps ProjectStore) GetProjectList() ([]Project, error) { method PrintProject (line 189) | func (ps ProjectStore) PrintProject(name string) error { type Project (line 40) | type Project struct type Scan (line 47) | type Scan struct function OpenProjectStore (line 55) | func OpenProjectStore() (ProjectStore, error) {