Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ContentSquare/chproxy
/ hash
Function
hash
utils.go:80–84 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
78
}
79
80
func
hash(s string) uint32 {
81
h := fnv.New32a()
82
h.Write([]byte(s))
83
return
h.Sum32()
84
}
85
86
func
getQuerySnippetFromBody(req *http.Request) string {
87
if
req.Body == nil {
Callers
2
getReplicaSticky
Method · 0.85
getHostSticky
Method · 0.85
Calls
1
Write
Method · 0.45
Tested by
no test coverage detected