Commit graph

8 commits

Author SHA1 Message Date
Roman Khimov
878f2cd855 neofs: drop package
We don't really need Credentials (it's all about private key) and ClientPlant
(it's a pool). NewEphemeralKey moved temporarily to pool.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2021-05-28 23:13:47 +03:00
Angira Kekteeva
7cfe91fac7 [#4] pool: Rename exported structs in pool pkg
Renamed PoolBuilderOptions to BuilderOptions and PoolBuilder to Builder
because usages of them with prefix pool.* in other packages stutter.

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-25 14:58:55 +03:00
Angira Kekteeva
9f476e3c16 [#4] neofs: Remove useless neofsClientObject
Also ObjectClient interface and its functions
Resolve imports

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-25 14:27:21 +03:00
Angira Kekteeva
4225a21ea5 [#4] *: Add connections, neofs, logger from httpgw
Commit in http-gw: a4ad52e181e3653ee43742e2beb8c594c487c8cc
Rename connections dir and pkg to pool

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-25 14:00:05 +03:00
Angira Kekteeva
05d97531a9 [nspcc-dev/neofs-node#116] policy: Fix grammar.go
Linter prints warnings because of tags on structs
on grammar.go. But we need this syntax, so govet
and golint are turned off for this file.

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-21 00:02:33 +03:00
Angira Kekteeva
0caf8cfd95 [nspcc-dev/neofs-node#116] policy: Add comments
Added comments to exported variables and
functions, fix typos in comments and extra
newlines in code

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-21 00:01:28 +03:00
Angira Kekteeva
4d1900e543 [nspcc-dev/neofs-node#116] policy: Replace dependency
Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-20 23:01:12 +03:00
Angira Kekteeva
0eeddf6dfe [nspcc-dev/neofs-node#116] policy: Move files from neofs-node repo
Took from commit on neofs-node: f81ecbe8db17e63674a47b4b6d49575aced3c16d

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
2021-05-20 23:01:12 +03:00