quiet

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 8 Imported by: 1 module, 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 quiet keeps the Chromium icebath starts for the agent from calling Google services on its own

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Args

func Args() []string

Switches every agent Chromium starts with, the feature list as one --disable-features

func Files

func Files(owned bool) map[string]map[string]any

Profile files Chromium reads at start with the keys they get, browser sign in kept for the user's own profile

func Merge

func Merge(existing []byte, keys map[string]any) ([]byte, error)

JSON object of existing with keys set over it at every depth, a missing or unreadable file read as empty

func MergeFeatureSwitches

func MergeFeatureSwitches(argv []string) []string

Argv with every --disable-features and every --enable-features joined into one switch each at its first place

func SeedProfile

func SeedProfile(userDataDir string, owned bool) error

Writes the keys into the profile files of a local user data dir through a temp file and rename

func SeedRemoteProfile

func SeedRemoteProfile(userDataDir string, owned bool, run Runner) error

Writes the keys into the profile files of a user data dir inside a container or remote host through run

Types

type Runner

type Runner func(argv []string, stdin []byte) ([]byte, int, error)

Runs argv with stdin where the profile lives, returning stdout and the exit code

Jump to

Keyboard shortcuts

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