injector

package
v0.0.0-...-f40eccb Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InterceptOptions

type InterceptOptions struct {
	Headless     bool
	Timeout      time.Duration
	PollInterval time.Duration
	EncodeBase32 bool
	FilterJS     bool
}

func DefaultOptions

func DefaultOptions() *InterceptOptions

type Interceptor

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

func NewInterceptor

func NewInterceptor(opts *InterceptOptions) *Interceptor

func (*Interceptor) Intercept

func (i *Interceptor) Intercept(ctx context.Context, targetURL string) ([]Secret, error)

type Secret

type Secret struct {
	Secret  string `json:"secret"`
	Version int    `json:"version"`
}

func QuickIntercept

func QuickIntercept() ([]Secret, error)

Jump to

Keyboard shortcuts

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