handler

package
v0.0.0-...-0c0f7dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddResponseToMultistat

func AddResponseToMultistat(ms *etree.Element, uri string) *etree.Element

func AddResponseWStatusToMultistat

func AddResponseWStatusToMultistat(ms *etree.Element, uri string, httpStatus int) *etree.Element

func AddStatusToPropstat

func AddStatusToPropstat(httpStatus int, propstat *etree.Element)

func AddURLElement

func AddURLElement(node *etree.Element, url string)

func GetMultistatusDoc

func GetMultistatusDoc(sURL string) (*etree.Document, *etree.Element)

func GetMultistatusDocWOResponseTag

func GetMultistatusDocWOResponseTag() (*etree.Document, *etree.Element)

func NotImplementedYet

func NotImplementedYet(w http.ResponseWriter)

func OnRoot

func OnRoot(w http.ResponseWriter, req *http.Request)

func OnWellKnown

func OnWellKnown(w http.ResponseWriter, req *http.Request)

func OnWellKnownNoParam

func OnWellKnownNoParam(w http.ResponseWriter, req *http.Request)

func RespondWithICS

func RespondWithICS(w http.ResponseWriter, status int, ics string)

func RespondWithMessage

func RespondWithMessage(w http.ResponseWriter, status int, message string)

func RespondWithRedirect

func RespondWithRedirect(w http.ResponseWriter, req *http.Request, uri string)

func RespondWithStandardOptions

func RespondWithStandardOptions(w http.ResponseWriter, status int, message string)

func RespondWithUnauthenticated

func RespondWithUnauthenticated(w http.ResponseWriter)

func RespondWithVCARD

func RespondWithVCARD(w http.ResponseWriter, status int, vcard string)

func SendETreeDocument

func SendETreeDocument(w http.ResponseWriter, status int, dRet *etree.Document)

func SendMultiStatus

func SendMultiStatus(w http.ResponseWriter, httpStatus int, dRet *etree.Document, propstat *etree.Element)

func SetAllowHeader

func SetAllowHeader(w http.ResponseWriter)

func SetDAVHeader

func SetDAVHeader(w http.ResponseWriter)

func SetStandardHTMLHeader

func SetStandardHTMLHeader(w http.ResponseWriter)

func SetStandardXMLHeader

func SetStandardXMLHeader(w http.ResponseWriter)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL