miniflux.appminiflux.app/http/response/xml Index | Files

package xml

import "miniflux.app/http/response/xml"

Index

Functions

func Attachment

func Attachment(w http.ResponseWriter, r *http.Request, filename string, body interface{})

Attachment forces the XML document to be downloaded by the web browser.

func OK

func OK(w http.ResponseWriter, r *http.Request, body interface{})

OK writes a standard XML response with a status 200 OK.

Source Files

xml.go

Version
v1.0.46 (latest)
Published
Jul 22, 2023
Platform
linux/amd64
Imports
2 packages
Last checked
2 weeks ago

Tools for package owners.