package xxhash
Import Path
go.opentelemetry.io/otel/attribute/internal/xxhash (on go.dev)
Dependency Relation
imports 3 packages, and imported by one package
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)