frostfs-api-go/pkg/client
Leonard Lyubich da89c2b71f [#337] client: Add option to specify callback of response information
There is a need to analyze some response information in API client.

Define `ResponseMetaInfo` structure of response information. Add
`WithResponseInfoHandler` client option which allows to set the response
info callback. The callback is called right after any response is received.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-28 18:15:29 +03:00
..
accounting.go [#337] client: Add option to specify callback of response information 2021-09-28 18:15:29 +03:00
client.go [#196] pkg/client: Extend Client interface with Conn method 2021-05-31 10:13:00 +03:00
container.go [#337] client: Add option to specify callback of response information 2021-09-28 18:15:29 +03:00
netmap.go [#337] client: Add option to specify callback of response information 2021-09-28 18:15:29 +03:00
object.go [#337] client: Add option to specify callback of response information 2021-09-28 18:15:29 +03:00
object_test.go [#313] client/object: Always return number of bytes read from Get stream (#316) 2021-06-23 14:15:58 +03:00
opts.go [#337] client: Add option to specify callback of response information 2021-09-28 18:15:29 +03:00
raw.go [#196] pkg/client: Extend Client interface with Conn method 2021-05-31 10:13:00 +03:00
reputation.go [#337] client: Add option to specify callback of response information 2021-09-28 18:15:29 +03:00
response.go [#337] client: Add option to specify callback of response information 2021-09-28 18:15:29 +03:00
session.go [#337] client: Add option to specify callback of response information 2021-09-28 18:15:29 +03:00