Lua seaweedfs client with seaweedfs.
- Implement seaweedfs API
- One step updoad file
- Result Add request file hash code
- Return image thumb
Production ready.
API:
local seaweedfs = require "resty.seaweedfs"
-
new
-
put
-
get
-
delete
-
assign
-
lookup
-
upload
Openresty:
-
http://${url}/file/upload
-
http://${url}/file/img/7,26c02a5ef3
-
http://${url}/file/img/thumb/7,26c02a5ef3
-
http://${url}/file/get/7,26c02a5ef3
-
http://${url}/file/download/7,26c02a5ef3
opm get cooperlyt/lua-resty-seaweedfs
docker image coopersoft/seaweedfs-gateway
lua-resty-http opm get ledgetech/lua-resty-http