mask

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mask scrubs credential-shaped text that cuttle is about to print or log. It is shared because the daemon and the CLI both emit URLs the browser has been to, and a rule this specific drifts the moment it exists twice: the leak it was written for was a routine retry log carrying `remix_userkey=25039df9...` in the URL it was retrying, and an OAuth callback an agent lands on carries the same shape in `?code=`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Params

func Params(text string) string

Params replaces the value of every credential-shaped parameter with a placeholder, leaving ordinary ones alone.

Types

This section is empty.

Jump to

Keyboard shortcuts

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