webdav

package
v3.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebdavPerm

type WebdavPerm struct {
	Readable  sql.NullBool
	Writeable sql.NullBool
	Resource  string
}

func ParseGlobalForm

func ParseGlobalForm(v url.Values) []*WebdavPerm

func (*WebdavPerm) SetReadable

func (w *WebdavPerm) SetReadable(r string)

func (*WebdavPerm) SetWriteable

func (w *WebdavPerm) SetWriteable(v string)

func (*WebdavPerm) String

func (w *WebdavPerm) String() string

type WebdavUser

type WebdavUser struct {
	User      string
	Password  string
	Root      string
	Writeable sql.NullBool
	Perms     []*WebdavPerm
}

func ParseUserForm

func ParseUserForm(v url.Values) []*WebdavUser

func (*WebdavUser) SetWriteable

func (w *WebdavUser) SetWriteable(v string)

Jump to

Keyboard shortcuts

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