privacy

package
v0.107.5 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearMemory

func ClearMemory()

func Enabled

func Enabled() bool

func MaskText

func MaskText(text string) (string, map[string]string)

func SetEnabled

func SetEnabled(on bool)

func Toggle

func Toggle() bool

func WrapTransport

func WrapTransport(base http.RoundTripper) http.RoundTripper

Types

type Status

type Status struct {
	Enabled         bool
	Rules           int
	Remembered      int
	MaxBodyBytes    int64
	TokenTTLSeconds int64
}

func Snapshot

func Snapshot() Status

type Transport

type Transport struct{ Base http.RoundTripper }

func (*Transport) RoundTrip

func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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