MCPcopy
hub / github.com/redis/go-redis / EvalRO

Method EvalRO

script.go:97–99  ·  view source on GitHub ↗
(ctx context.Context, c Scripter, keys []string, args ...interface{})

Source from the content-addressed store, hash-verified

95}
96
97func (s *Script) EvalRO(ctx context.Context, c Scripter, keys []string, args ...interface{}) *Cmd {
98 return c.EvalRO(ctx, s.src, keys, args...)
99}
100
101// ensureHash ensures that s.hash is populated by using SCRIPT LOAD.
102// It never calls SHA-1 in Go; Redis computes and returns the digest.

Callers 2

EvalShaROMethod · 0.95
RunROMethod · 0.95

Calls 1

EvalROMethod · 0.65

Tested by

no test coverage detected