output

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleOutput added in v0.0.4

func HandleOutput(output chan *FingerprintOutput) int

Types

type FingerprintOutput

type FingerprintOutput struct {
	Authenticated bool              `json:"authenticated"`
	Domain        string            `json:"domain"`
	Url           string            `json:"url"`
	SchemaStatus  SchemaStatus      `json:"schema_status"`
	Source        string            `json:"source"`   // the original address used to fingerprint the endpoint
	Metadata      map[string]string `json:"metadata"` // optional metadata
}

func (*FingerprintOutput) MarshalJSON

func (o *FingerprintOutput) MarshalJSON() ([]byte, error)

type SchemaStatus added in v0.0.14

type SchemaStatus string
const (
	SchemaStatusOpen    SchemaStatus = "OPEN"
	SchemaStatusLeaking SchemaStatus = "LEAKING"
	SchemaStatusClosed  SchemaStatus = "CLOSED"
)

Jump to

Keyboard shortcuts

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