KVStringer allows to prepare human-readable diagnostic messages.
| 275 | |
| 276 | // KVStringer allows to prepare human-readable diagnostic messages. |
| 277 | type KVStringer interface { |
| 278 | KeyToString([]byte) string |
| 279 | ValueToString([]byte) string |
| 280 | } |
| 281 | |
| 282 | // HexKVStringer serializes both key & value to hex representation. |
| 283 | func HexKVStringer() KVStringer { |
nothing calls this directly
no outgoing calls
no test coverage detected