Previous implementation uses simple []byte for backing storage, however that limits the kind of KV operations that can be supported.
PR changes the exported functions of KV to be *protocol.KVTransfer to allow more complex operation, such as Append() and Prefix() under a single key for tracking multiple keys (needed to support VFS-like interface from certmagic).
Previous implementation uses simple
[]byte
for backing storage, however that limits the kind of KV operations that can be supported.PR changes the exported functions of KV to be
*protocol.KVTransfer
to allow more complex operation, such asAppend()
andPrefix()
under a single key for tracking multiple keys (needed to support VFS-like interface from certmagic).