Skip to content

cisiqo/fastdfs_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastdfsClient

A fastdfs client with elixir

Installation

If available in Hex, the package can be installed by adding fastdfs_client to your list of dependencies in mix.exs:

def deps do
  [
    {:fastdfs_client, "~> 0.2.0"}
  ]
end

Configuration

Add fastdfs server config to config.exs

config :fastdfs_client, :fdfs_server,
      host: "172.16.21.100",
      port: 22122

OR

config :fastdfs_client, :fdfs_server,
      endpoints: [
         {"172.16.21.100", 22122},
         {"172.16.21.101", 22122}
      ]

Function

  • upload_file/1
  • download_file/1
  • delete_file/1

About

A fastdfs client with elixir

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages