webdavs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorizer

type Authorizer interface {
	AuthorizeWebDAVUser(r *http.Request) (authorized bool, user user.User, err error)
}

type DummyAuthorizer

type DummyAuthorizer struct{}

func (*DummyAuthorizer) AuthorizeWebDAVUser

func (a *DummyAuthorizer) AuthorizeWebDAVUser(r *http.Request) (bool, string, error)

type Server

type Server struct {
	Authorizer
	ContentManager *content.Manager
	ContentDir     string
}

func (*Server) ServeHTTP

func (srv *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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