output

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "v0.1.3"
)

Variables

This section is empty.

Functions

func ShowBanner

func ShowBanner()

Types

type Found

type Found struct {
	URL  string `json:"URL,omitempty"`
	Hash string `json:"Hash,omitempty"`
	Name string `json:"Name,omitempty"`
}

func (*Found) Format

func (f *Found) Format() string

Format returns a string ready to be printed.

func (*Found) FormatJSON added in v0.1.2

func (f *Found) FormatJSON() ([]byte, error)

FormatJSON returns the input as JSON string.

type Result

type Result struct {
	Map   map[string]struct{}
	Mutex *sync.RWMutex
}

func New

func New() Result

New returns a new Result struct.

func (*Result) Printed

func (o *Result) Printed(found string) bool

Printed checks if a string has been previously printed.

Jump to

Keyboard shortcuts

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