Involved Source Files Package xxhash provides a wrapper around the xxhash library for attribute hashing.
Package-Level Type Names (only one, which is exported)
/* sort exporteds by: | */
Hash wraps xxhash.Digest to provide an API friendly for hashing attribute values.d*xxhash.Digest( Hash) Bool(val bool) Hash Float64 hashes val into h, returning the updated Hash. Int64 hashes val into h, returning the updated Hash. Reset resets the hash to its initial state.( Hash) String(val string) Hash Sum64 returns the current hash value. Uint64 hashes val into h, returning the updated Hash.
func New() Hash
func Hash.Bool(val bool) Hash
func Hash.Float64(val float64) Hash
func Hash.Int64(val int64) Hash
func Hash.String(val string) Hash
func Hash.Uint64(val uint64) Hash
func go.opentelemetry.io/otel/attribute.hashKV(h Hash, kv attribute.KeyValue) Hash
func go.opentelemetry.io/otel/attribute.hashValue(h Hash, v attribute.Value) Hash
func go.opentelemetry.io/otel/attribute.hashKV(h Hash, kv attribute.KeyValue) Hash
func go.opentelemetry.io/otel/attribute.hashValue(h Hash, v attribute.Value) Hash
Package-Level Functions (only one, which is exported)
New returns a new initialized xxHash64 hasher.
The pages are generated with Goldsv0.8.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.