Versions in this module Expand all Collapse all v0 v0.12.0 Jul 28, 2022 v0.0.2 Jul 28, 2022 v0.0.1 Jul 28, 2022 Changes in this version + func JSON(val interface{}, warnings *[]Warning) json.RawMessage + func JSONModuleObject(val interface{}, fieldName, fieldVal string, warnings *[]Warning) json.RawMessage + func RegisterAdapter(name string, adapter Adapter) + type Adapter interface + Adapt func(body []byte, options map[string]interface{}) ([]byte, []Warning, error) + func GetAdapter(name string) Adapter + type HTTPLoader struct + Headers http.Header + Method string + TLS ... + Timeout caddy.Duration + URL string + func (HTTPLoader) CaddyModule() caddy.ModuleInfo + func (hl HTTPLoader) LoadConfig(ctx caddy.Context) ([]byte, error) + type Warning struct + Directive string + File string + Line int + Message string + func (w Warning) String() string