Skip to content

The fastdfs Go client implementation has customized certain elements, adding timeout settings to the steps for connecting to the client and more.

Notifications You must be signed in to change notification settings

Fish-watching-the-sea/fdfs_client

 
 

Repository files navigation

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]

About

The fastdfs Go client implementation has customized certain elements, adding timeout settings to the steps for connecting to the client and more.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%