MCPcopy
hub / github.com/etcd-io/bbolt / KVStringer

Interface KVStringer

tx_check.go:277–280  ·  tx_check.go::KVStringer

KVStringer allows to prepare human-readable diagnostic messages.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Implementers 2

hexKvStringertx_check.go
cmdKvStringercmd/bbolt/command/utils.go

Calls

no outgoing calls

Tested by

no test coverage detected