fastdfs go client impl
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
client.go
client_test.go
common.go
config.go
conn_pool.go
fdfs.conf
storage.go
tracker.go
utils.go

README.md

#fdfs_client.go

fastdfs go client implement

1 support

upload(UploadByFilename,UploadByBuffer)

download(DownloadToFile,DownloadToBuffer)

delete(DeleteFile)

2 append is not support(limited by fastdfs server)

you can implement append with delete origin && upload new again

3 UploadByFilename realized with sendfile syscall in linux,so UploadByBuffer is depracated

4 realized conn_pool,pool_size control by config file

5 details see client_test.go,good luck ^_^

##$ go get github.com/tedcy/fdfs_client

#Author yue.cheng.ted@gmail.com