caddy: Index | Files

package caddymain

import ""


Package Files



var EnableTelemetry = true

EnableTelemetry defines whether telemetry is enabled in Run.

func LoadEnvFromFile Uses

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 Uses

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

ParseEnvFile implements parse logic for environment files

func Run Uses

func Run()

Run is Caddy's main() function.

Package caddymain imports 22 packages (graph) and is imported by 108 packages. Updated 2019-11-08. Refresh now. Tools for package owners.