config

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address            string
	AuthToken          string
	RequestBodyLimit   int64
	ForwardTimeout     time.Duration
	ReadTimeout        time.Duration
	WriteTimeout       time.Duration
	ReadHeaderTimeout  time.Duration
	IdleTimeout        time.Duration
	SessionStaleAfter  time.Duration
	AllowAbsolutePaths bool
	EnforceRootBounds  bool
}

func Load

func Load(args []string, stderr io.Writer) (Config, error)

Jump to

Keyboard shortcuts

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