phishing_site

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 5 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 {
	// timeout seconds
	Timeout int
}

type PhishingSiteDetection

type PhishingSiteDetection struct {
	AccessToken string
	Config      *Config
}

func NewPhishingSiteDetection

func NewPhishingSiteDetection(accessToken string, config *Config) *PhishingSiteDetection

func (*PhishingSiteDetection) Run

func (s *PhishingSiteDetection) Run(url string) (*Result, error)

type Result

type Result struct {
	Code    int            `json:"code"`
	Message string         `json:"message"`
	Result  map[string]any `json:"result"`
}

Jump to

Keyboard shortcuts

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