config

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 2 Imported by: 0 modules, 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

Index

Constants

View Source
const (
	Key = "debug"
	// Lines of the end of each log the report carries, where the log names none of its own
	Lines = Key + ".lines"
	// How long a paste stays where it was shared before it is deleted, and how long one a service can't delete is asked to stay
	Retention = Key + ".retention"
	// Paste services tried in this order, those it leaves out after them in the order they are registered
	Services = Key + ".services"
	// How long one upload may take before the next service is tried
	Timeout = Key + ".timeout"
	// Most of the end of a log shared whole beside the report, in bytes
	Whole = Key + ".whole_size"
)

Variables

This section is empty.

Functions

func Register

func Register(cfg *config.Config, services func() []config.Option)

Registers the settings of the debug report, the paste services it may list read each time they are shown

Types

This section is empty.

Jump to

Keyboard shortcuts

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