rt

package
v0.0.0-...-6822f51 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CerFilepath

func CerFilepath() string

CerFilepath returns the path of cert file.

func CheckUserAndPass

func CheckUserAndPass(user, pass string) bool

CheckUserAndPass verifies the correctness of users and passwords.

func KeyFilepath

func KeyFilepath() string

KeyFilepath returns the path of key file.

func MinVersionTLS

func MinVersionTLS() uint16

MinVersionTLS returns the minimum supported version of webdav server.

func ReadInFile

func ReadInFile(filepath string) error

ReadInFile reads the configuration file of webdav server.

func ServAddr

func ServAddr() string

ServAddr returns the address of webdav server.

func ServeWebDAV

func ServeWebDAV(user string, w http.ResponseWriter, r *http.Request)

ServeWebDAV processes the client's request according to the webdav protocol.

func UseTLS

func UseTLS() bool

UseTLS returns a boolean value that whether to use tls for webdav server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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