package xxhash
import "go.opentelemetry.io/otel/attribute/internal/xxhash"
Package xxhash provides a wrapper around the xxhash library for attribute hashing.
Index ¶
Types ¶
type Hash ¶
type Hash struct {
// contains filtered or unexported fields
}
Hash wraps xxhash.Digest to provide an API friendly for hashing attribute values.
func New ¶
func New() Hash
New returns a new initialized xxHash64 hasher.
func (Hash) Bool ¶
func (Hash) Float64 ¶
func (Hash) Int64 ¶
func (Hash) String ¶
func (Hash) Sum64 ¶
Sum64 returns the current hash value.
func (Hash) Uint64 ¶
Source Files ¶
xxhash.go
- Version
- v1.39.0
- Published
- Dec 8, 2025
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 3 hours ago –
Tools for package owners.