webdavtypes

package module
v0.0.0-...-c96bf7b Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2018 License: MIT Imports: 1 Imported by: 0

README

webdavtypes

Go types for WebDAV clients

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveLock

type ActiveLock struct {
	LockType  LockType  `xml:"locktype"`
	LockScope LockScope `xml:"lockscope"`
	Depth     string    `xml:"depth"`
	Owner     Owner     `xml:"owner"`
	Timeout   string    `xml:"timeout"`
	LockToken LockToken `xml:"locktoken"`
	LockRoot  LockRoot  `xml:"lockroot"`
}

type LockDiscovery

type LockDiscovery struct {
	ActiveLock ActiveLock `xml:"activelock"`
}

type LockEntry

type LockEntry struct {
	LockScope LockScope `xml:"lockscope"`
	LockType  LockType  `xml:"locktype"`
}

type LockRoot

type LockRoot struct {
	Href string `xml:"href"`
}

type LockScope

type LockScope struct {
	Value xml.Name `xml:",any"`
}

type LockToken

type LockToken struct {
	Href string `xml:"href"`
}

type LockType

type LockType struct {
	Value xml.Name `xml:",any"`
}

type Multistatus

type Multistatus struct {
	Response []Response `xml:"response"`
}

type Owner

type Owner struct {
	Href string `xml:"href"`
}

type Prop

type Prop struct {
	Displayname           string        `xml:"displayname"`
	Getlastmodified       string        `xml:"getlastmodified"`
	Getcontentlength      int64         `xml:"getcontentlength"`
	Getcontenttype        string        `xml:"getcontenttype"`
	Getetag               string        `xml:"getetag"`
	Supportedlock         Supportedlock `xml:"supportedlock"`
	Resourcetype          ResourceType  `xml:"resourcetype"`
	LockDiscovery         LockDiscovery `xml:"lockdiscovery"`
	Win32LastModifiedTime string        `xml:"Win32LastModifiedTime"`
}

type Propstat

type Propstat struct {
	Prop   Prop   `xml:"prop"`
	Status string `xml:"status"`
}

type ResourceType

type ResourceType struct {
	Value xml.Name `xml:",any"`
}

type Response

type Response struct {
	Href     string   `xml:"href"`
	Propstat Propstat `xml:"propstat"`
}

type Supportedlock

type Supportedlock struct {
	Lockentry LockEntry `xml:"lockentry"`
}

Jump to

Keyboard shortcuts

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