server

package
v0.4.11 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: AGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenResponse

type AccessTokenResponse struct {
	AccessToken string `json:"access_token,omitempty"`
	Error       string `json:"error,omitempty"`
}

type HandlerInfo

type HandlerInfo struct {
	Verb   string `json:"method"`
	Path   string `json:"path"`
	Source string `json:"source"`
}

type LoginStartResponse

type LoginStartResponse struct {
	TokenRequestID  string `json:"token_request_id"`
	VerificationURI string `json:"verification_uri"`
}

type RequestTokenParameters

type RequestTokenParameters struct {
	TokenRequestID string `json:"token_request_id"`
}

type Server

type Server struct {
	ServerRouter *mux.Router
	// contains filtered or unexported fields
}

func Open

func Open(path string, domain string, verifier verifier.AuthenticationProvider, log logr.Logger) (*Server, error)

func (*Server) ServeHTTP

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

func (*Server) WebdavFilesystem added in v0.4.7

func (s *Server) WebdavFilesystem() webdav.FileSystem

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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