WebDAV

command
v0.0.0-...-1c696ee Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

README

WebDAV

This sample is about to build a webdav service based on beego.

Installation

cd $GOPATH/src/samples/WebDAV
go get golang.org/x/net/webdav
go install
cp $GOPATH/bin/WebDAV ./
./WebDAV

Usage

  • Get a file
curl 'http://127.0.0.1:8080/test.txt'
  • Creating a new foder
curl -X MKCOL 'http://127.0.0.1:8080/test/'
  • Upload a new file
curl -T '{localfile}' 'http://127.0.0.1:8080/test/'
  • Delete foder
curl -X DELETE 'http://127.0.0.1:8080/test/'

Documentation

Overview

This sample is about to build a webdav service based on beego.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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