1 second interval drastically improves experience in
neofs-dev-env and does not produce much load in production.
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
`ReadObject` method must read full object payload into memory when
`WithHeader` and `WithPayload` are set and write it into heading part.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
Make `tokens`, `authmate` and `layer` packages to depend from locally
defined `NeoFS` interface of the virtual connection to NeoFS network.
Create internal `neofs` package and implement these interfaces through
`pool.Pool` there. Implement mediators between `NeoFS` interfaces and
`neofs.NeoFS` implementation.
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>