README ¶ caddy-save caddy handler to save request body to specified file Usage Self-updating Caddyfile with caddy-exec route /caddy { basic_auth { Deployment <hashed password> } save Caddyfile exec caddy reload } Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Save func (Save) CaddyModule() caddy.ModuleInfo func (s Save) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error func (s *Save) UnmarshalCaddyfile(d *caddyfile.Dispenser) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Save ¶ type Save struct { FilePath string `json:"file_path,omitempty"` } func (Save) CaddyModule ¶ func (Save) CaddyModule() caddy.ModuleInfo func (Save) ServeHTTP ¶ func (s Save) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error func (*Save) UnmarshalCaddyfile ¶ func (s *Save) UnmarshalCaddyfile(d *caddyfile.Dispenser) error Source Files ¶ View all Source files save.go Click to show internal directories. Click to hide internal directories.