Versions in this module Expand all Collapse all v1 v1.4.0 Mar 6, 2024 Changes in this version + func ExpandPath(c *gabs.Container, token *list.Element, res *bytes.Buffer) v1.3.0 Mar 13, 2021 Changes in this version type Context + Advertise string v1.2.1 Feb 21, 2021 Changes in this version + var Afero = &afero.Afero + func HealthHandler(w http.ResponseWriter, r *http.Request) + func IndexHandler(ctx *Context, w http.ResponseWriter, r *http.Request) (int, error) + func MakeReloadCallback(c *Context, configName string) func() + func ParseYaml(fname string) (*gabs.Container, error) + func UpdateHosts(c *Context) + func ValidateConfig(c *gabs.Container) error + func VarsHandler(c *Context, w http.ResponseWriter, r *http.Request) (int, error) + func WatchConfigFileChanges(watcher *fsnotify.Watcher, fname string, cb func()) + type Context struct + Config *gabs.Container + ConfigMtx sync.Mutex + type CtxWrapper struct + H func(*Context, http.ResponseWriter, *http.Request) (int, error) + func (cw CtxWrapper) ServeHTTP(w http.ResponseWriter, r *http.Request)