{"modulePath":"github.com/utmstack/UTMStack/plugins/shared","version":"v0.0.0-20261126134315-738f65073a40","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package identity\n\nPackage identity derives a deterministic event identity from source fields, making a re-read event recognisable. Nothing collapses it today: utmstack.logs is a MergeTree whose ORDER BY excludes id, and alert dedup is per-rule.\n\n## Functions\n\n```go\nfunc Hash(fields ...string) string\n```\nHash returns hex(sha256(fields joined by \"|\")). Field content is not escaped, and callers must include a tenant/group key so tenants cannot collide.\n\n","path":"github.com/utmstack/UTMStack/plugins/shared/identity","name":"identity","synopsis":"Package identity derives a deterministic event identity from source fields, making a re-read event recognisable.","isRedistributable":true}
