项目作者: tedcy

项目描述 :
fastdfs go client impl
高级语言: Go
项目地址: git://github.com/tedcy/fdfs_client.git
创建时间: 2016-04-07T04:06:36Z
项目社区:https://github.com/tedcy/fdfs_client

开源协议:

下载


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 clienttest.go,good luck ^^

$ go get github.com/tedcy/fdfs_client

Author

yue.cheng.ted@gmail.com