github

package
v2.8.3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2025 License: MIT Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package github GitHub search package Based on gwen001's https://github.com/gwen001/github-search github-subdomains

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

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

Source is the passive scraping agent

func (*Source) AddApiKeys

func (s *Source) AddApiKeys(keys []string)

func (*Source) HasRecursiveSupport

func (s *Source) HasRecursiveSupport() bool

func (*Source) IsDefault

func (s *Source) IsDefault() bool

func (*Source) Name

func (s *Source) Name() string

Name returns the name of the source

func (*Source) NeedsKey

func (s *Source) NeedsKey() bool

func (*Source) Run

func (s *Source) Run(ctx context.Context, domain string, session *subscraping.Session) <-chan subscraping.Result

Run function returns all subdomains found with the service

func (*Source) Statistics

func (s *Source) Statistics() subscraping.Statistics

type Token

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

Token struct

type Tokens

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

Tokens is the internal struct to manage the current token and the pool

func NewTokenManager

func NewTokenManager(keys []string) *Tokens

NewTokenManager initialize the tokens pool

func (*Tokens) Get

func (r *Tokens) Get() *Token

Get returns a new token from the token pool

Jump to

Keyboard shortcuts

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