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.41.0
- Published
- Mar 2, 2026
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 1 minute ago –
Tools for package owners.