caddymain

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EnableTelemetry = true

EnableTelemetry defines whether telemetry is enabled in Run.

Functions

func LoadEnvFromFile

func LoadEnvFromFile(envFile string) error

LoadEnvFromFile loads additional envs if file provided and exists Envs in file should be in KEY=VALUE format

func ParseEnvFile

func ParseEnvFile(envInput io.Reader) (map[string]string, error)

ParseEnvFile implements parse logic for environment files

func Run

func Run()

Run is Caddy's main() function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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