arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Gateway Mode

Multiple users can share one mefs's running program.

hashtag
User Agent Startarrow-up-right

After mefs is started, other users can also be started as a proxy.

Parameter explanation:

hashtag

After mefs is started, other users can also be shut down by proxy.

Parameter explanation:

hashtag

  • Cli

  • Http

hashtag

The user whose address is the public key obtains the file named ObjectName from the BucketName bucket.

  • Cli

  • Http

mefs-user lfs start <addr> --sk=<private key> --pwd=<password>
addr:account address;

--sk:the private key of the user; if the private key corresponding to the address does not match, the address of the private key shall prevail;

--pwd:user's password;
User Agent Stoparrow-up-right
Usagearrow-up-right
Examplearrow-up-right
mefs-user lfs kill <addr> --pwd=<password>
addr:account address

--pwd:account password
mefs-user rootcmd subcmd arg1 op1=arg2 --addr=<public key>
curl "http://<ip>:5001/api/v0/<roocmd>/<subcmd>?arg=<arg1>&op1=<arg2>&addr=<public key
mefs_user lfs get_object <BucketName> <ObjectName> --addr=<public key>
curl  "http://127.0.0.1:5001/api/v0/lfs/get_object?arg=<BucketName>&arg=<ObjectName>&addr=<public key>"