{"modulePath":"github.com/patrickhener/goshs","version":"v0.3.2","isLatest":false,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package httpserver\n\nPackage httpserver will contain the main httpserver functionality of goshs\n\n## Types\n\n```go\ntype FileServer struct {\n\tIP             string\n\tPort           int\n\tWebdavPort     int\n\tWebroot        string\n\tSSL            bool\n\tSelfSigned     bool\n\tMyKey          string\n\tMyCert         string\n\tUser           string\n\tPass           string\n\tDropUser       string\n\tVersion        string\n\tFingerprint256 string\n\tFingerprint1   string\n\tUploadOnly     bool\n\tReadOnly       bool\n\tSilent         bool\n\tVerbose        bool\n\tHub            *ws.Hub\n\tClipboard      *clipboard.Clipboard\n}\n```\nFileServer holds the fileserver information\n\n```go\nfunc (fs *FileServer) BasicAuthMiddleware(next http.Handler) http.Handler\n```\nBasicAuthMiddleware is a middleware to handle the basic auth\n\n```go\nfunc (fs *FileServer) Start(what string)\n```\nStart will start the file server\n\n","path":"github.com/patrickhener/goshs/httpserver","name":"httpserver","synopsis":"Package httpserver will contain the main httpserver functionality of goshs","isRedistributable":true}
