logger/unwrap: add tagged option

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2022-11-19 15:20:42 +03:00
parent 1060f6a4c3
commit 1374e27531
3 changed files with 62 additions and 30 deletions

View File

@@ -74,7 +74,7 @@ type Request interface {
type Response interface {
// Read the response
Codec() codec.Codec
// read the header
// Header data
Header() metadata.Metadata
// Read the undecoded response
Read() ([]byte, error)