github

package
v0.0.0-...-1391122 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct{}

func (*Source) Enumerate

func (source *Source) Enumerate(searchReqURL string, domainRegexp *regexp.Regexp, tokens *Tokens, results chan sources.Result, config *sources.Configuration)

func (*Source) Name

func (source *Source) Name() string

func (*Source) Run

func (source *Source) Run(config *sources.Configuration, domain string) <-chan sources.Result

type Token

type Token struct {
	Hash         string
	RetryAfter   int64
	ExceededTime time.Time
}

type Tokens

type Tokens struct {
	// contains filtered or unexported fields
}

func NewTokenManager

func NewTokenManager(keys []string) *Tokens

func (*Tokens) Get

func (r *Tokens) Get() *Token

Jump to

Keyboard shortcuts

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