Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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!

Awesome Lists containing this project

README

        

# go-webdav

```go
package main

import (
gowebdav "github.com/zijiren233/go-webdav"
)

func main() {
ser := gowebdav.NewWebdav()
ser.DefaultClient("", ".")
ser.Run(":8080")
}
```


```go
package main

import (
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")
}
```