Skip to content

fastdfs golang client. forked from github.com/tedcy/fdfs_client

Notifications You must be signed in to change notification settings

zhou27/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 ^_^

About

fastdfs golang client. forked from github.com/tedcy/fdfs_client

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages