Documentation
¶
Index ¶
- Variables
- func Enable(caddyfile string, player TemplateFunc)
- func GetConfigPaths() [][]string
- func GetInstance() *caddy.Instance
- func GetPathes() []string
- func RegisterPluginTemplate(fn TemplateFunc, watchConfigPath []string, pathes ...string) error
- func Restart() error
- func Start() error
- func StartWithFastRestart() (chan bool, error)
- func Stop() error
- type Caddy
- type TemplateFunc
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterPluginTemplate ¶
func RegisterPluginTemplate(fn TemplateFunc, watchConfigPath []string, pathes ...string) error
RegisterPluginTemplate adds a TemplateFunc to be called for each plugin
Types ¶
type Caddy ¶
type Caddy struct {
// contains filtered or unexported fields
}
Caddy contains the templates and functions for building a dynamic caddyfile
Source Files
¶
- caddy.go
Click to show internal directories.
Click to hide internal directories.