From 41dc2c8a54593d49f62bba97d3007a1336d0e756 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Mon, 23 May 2022 15:07:56 +0300 Subject: [PATCH] [#6] Fix README Signed-off-by: Alex Vanin --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 22d0aa3..4e045ed 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Create native client with `connect` method. Arguments: ```js import native from 'k6/x/neofs/native'; -const neofsCli = native.connect("s01.neofs.devenv:8080", "") +const neofs_cli = native.connect("s01.neofs.devenv:8080", "") ``` #### Methods @@ -50,7 +50,7 @@ const neofsCli = native.connect("s01.neofs.devenv:8080", "") boolean flag, `object_id` string, and `error` string. - `get(container_id, object_id)`. Returns dictionary with `success` boolean flag, and `error` string. -- `onsite(container_id, object_id)`. Returns NeoFS object instance with prepared +- `onsite(container_id, payload)`. Returns NeoFS object instance with prepared headers. Invoke `put(headers)` method on this object to upload it into NeoFS. It returns dicrionary with `success` boolean flag, `object_id` string and `error` string. @@ -64,7 +64,7 @@ Credentials are taken from default AWS configuration files and ENVs. ```js import s3 from 'k6/x/neofs/s3'; -const s3cli = s3.connect("http://s3.neofs.devenv:8080") +const s3_cli = s3.connect("http://s3.neofs.devenv:8080") ``` #### Methods