Versions in this module Expand all Collapse all v0 v0.8.1 Jan 12, 2016 v0.8.0 Dec 4, 2015 Changes in this version + const DefaultConfigFile + const DefaultHost + const DefaultPort + const DefaultRoot + var AppName string + var AppVersion string + var GracefulTimeout time.Duration + var HTTP2 bool + var Host = DefaultHost + var PidFile string + var Port = DefaultPort + var Quiet bool + var Root = DefaultRoot + func IsRestart() bool + func Restart(newCaddyfile Input) error + func Start(cdyfile Input) (err error) + func Stop() error + func TrapSignals() + func Wait() + type CaddyfileInput struct + Contents []byte + Filepath string + RealFile bool + func DefaultInput() CaddyfileInput + func (c CaddyfileInput) Body() []byte + func (c CaddyfileInput) IsFile() bool + func (c CaddyfileInput) Path() string + type Input interface + Body func() []byte + IsFile func() bool + Path func() string + func Caddyfile() Input + func CaddyfileFromPipe(f *os.File) (Input, error) + func LoadCaddyfile(loader func() (Input, error)) (cdyfile Input, err error) + type SetupFunc func(c *setup.Controller) (middleware.Middleware, error)