Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 566 Bytes

README.md

File metadata and controls

26 lines (14 loc) · 566 Bytes

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

[email protected]