Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCacheKeyHasher ¶
func NewCacheKeyHasher(xhash *xxhash.Digest) *cacheKeyHasher
func NewTupleKeysHasher ¶
Types ¶
type ContextHasher ¶
ContextHasher represents a hashable protobuf Struct.
The ContextHasher can be used to generate a stable hash of a protobuf Struct. The fields of the struct are ordered to produce a stable hash, and the values for each struct key are produced using the structValueHasher, which produces a stable hash value for the Struct value.
func (ContextHasher) Append ¶
func (c ContextHasher) Append(h hasher) error
Click to show internal directories.
Click to hide internal directories.