Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCacheKeyHasher ¶
func NewCacheKeyHasher(xhash *xxhash.Digest) *cacheKeyHasher
NewCacheKeyHasher returns a hasher for string values.
func NewContextHasher ¶
NewContextHasher constructs a contextHasher which can be used to produce a stable hash of a protobuf Struct.
func NewTupleKeysHasher ¶
NewTupleKeysHasher returns a hasher for an array of *openfgav1.TupleKey. It sorts the tuples first to guarantee that two arrays that are identical except for the ordering return the same hash.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.