MCPcopy Create free account
hub / github.com/idank/explainshell / fnv32

Function fnv32

prod/botshed/module.go:253–257  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

251}
252
253func fnv32(s string) uint32 {
254 h := fnv.New32a()
255 _, _ = h.Write([]byte(s))
256 return h.Sum32()
257}
258
259func clientIP(r *http.Request) string {
260 if v := r.Header.Get("Do-Connecting-Ip"); v != "" {

Callers 1

ServeHTTPMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected