core

package
v0.0.0-...-79a2231 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AppsJSONPath          string
	TimeoutSeconds        int
	LoadingTimeoutSeconds int
	JSON                  bool
	Scraper               string
	MaxDepth              int

	MaxVisitedLinks        int
	MsDelayBetweenRequests int
	UserAgent              string
	RemoteUrl              string
	AppsJSON               []byte
	// contains filtered or unexported fields
}

Config for gowap

func NewConfig

func NewConfig() *Config

NewConfig struct with default values

type Wappalyzer

type Wappalyzer struct {
	Scraper    scraper.Scraper
	Apps       map[string]*application
	Categories map[string]*extendedCategory
	Config     *Config
}

Wappalyzer implements analyze method as original wappalyzer does

func Init

func Init(config *Config) (wapp *Wappalyzer, err error)

Init initializes wappalyzer

func (*Wappalyzer) Analyze

func (wapp *Wappalyzer) Analyze(paramURL string) (result interface{}, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL