Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zijiren233/go-webdav
High-performance webdav server based on gin framework!
https://github.com/zijiren233/go-webdav
gin go go-webdav webdav
Last synced: 3 months ago
JSON representation
High-performance webdav server based on gin framework!
- Host: GitHub
- URL: https://github.com/zijiren233/go-webdav
- Owner: zijiren233
- License: mit
- Created: 2022-08-31T16:15:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-02T08:30:17.000Z (11 months ago)
- Last Synced: 2024-10-02T09:09:29.420Z (3 months ago)
- Topics: gin, go, go-webdav, webdav
- Language: Go
- Homepage: https://github.com/zijiren233/go-webdav
- Size: 52.7 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-webdav
```go
package mainimport (
gowebdav "github.com/zijiren233/go-webdav"
)func main() {
ser := gowebdav.NewWebdav()
ser.DefaultClient("", ".")
ser.Run(":8080")
}
```
```go
package mainimport (
gowebdav "github.com/zijiren233/go-webdav"
)func main() {
ser := gowebdav.NewWebdav()
ser.DefaultClient("/prefix1", ".")
c := ser.DefaultClient("/prefix2", "../")
c.AddUser("admin", "admin", gowebdav.O_RDWR)
ser.Run(":8080")
}
```