types

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileRequest

type FileRequest struct {
	Src        string `json:"src"`
	HashedBody string `json:"hashed_body"`
	FileSize   uint   `json:"file_size"`
	FileType   string `json:"file_type"`
	Content    string `json:"content"`
}

type Filter

type Filter struct {
	Description string
	FilterID    string
	Categories  []string
	Types       []parsers.ListType
	URL         string
	Parser      parsers.Parser
}

type Redirect

type Redirect struct {
	Url        string     `json:"url"`
	StatusCode int        `json:"status_code"`
	Screenshot Screenshot `json:"screenshot"`
}

type Rule

type Rule struct {
	Description string

	RuleID string

	Regex *regexp.Regexp

	Keywords []string
}

type Screenshot

type Screenshot struct {
	Content string `json:"content"`
}

type WebsiteAnalysis

type WebsiteAnalysis struct {
	Url        string        `json:"url"`
	Title      string        `json:"name"`
	StatusCode int           `json:"status_code"`
	Assets     []FileRequest `json:"files"`
	Redirects  []Redirect    `json:"redirects"`
}

Jump to

Keyboard shortcuts

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