github_recon_settings

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken added in v1.2.4

func GetToken() string

GetToken retrieves the GitHub token from the environment variable or config file

Types

type Settings

type Settings struct {
	Token         string
	Target        string
	TargetType    TargetType
	ShowSource    bool
	Refresh       bool
	MaxRepoSize   int
	ExcludedRepos []string
	JsonOutput    string
	Silent        bool
	DeepScan      bool
	MaxDistance   int
	PrintAvatar   bool
	SpoofEmail    bool
	Trufflehog    bool

	// Internal
	Client *github.Client
	Logger *log.Logger
	Ctx    context.Context
}

func GetDefaultSettings added in v1.2.2

func GetDefaultSettings() Settings

func GetSettings

func GetSettings() (settings Settings, err error)

type TargetType

type TargetType string
const (
	TargetUsername TargetType = "Username"
	TargetEmail    TargetType = "Email"
)

Jump to

Keyboard shortcuts

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