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

Method Set

string_commands.go:32–32  ·  string_commands.go::StringCmdable.Set
(ctx context.Context, key string, value interface{}, expiration time.Duration)

Source from the content-addressed store, hash-verified

30 MSetNX(ctx context.Context, values ...interface{}) *BoolCmd
31 MSetEX(ctx context.Context, args MSetEXArgs, values ...interface{}) *IntCmd
32 Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *StatusCmd
33 SetArgs(ctx context.Context, key string, value interface{}, a SetArgs) *StatusCmd
34 SetEx(ctx context.Context, key string, value interface{}, expiration time.Duration) *StatusCmd
35 SetFromBuffer(ctx context.Context, key string, buf []byte) *StatusCmd

Callers 15

monitor_test.goFile · 0.65
TestMonitorCommandFunction · 0.65
TestTLSStandaloneFunction · 0.65
tx_unwatch_test.goFile · 0.65
TestDigestBasicFunction · 0.65
TestSetIFDEQWithDigestFunction · 0.65
TestSetIFDNEWithDigestFunction · 0.65
TestDelExArgsWithDigestFunction · 0.65

Calls

no outgoing calls

Tested by 15

TestMonitorCommandFunction · 0.52
TestTLSStandaloneFunction · 0.52
TestDigestBasicFunction · 0.52
TestSetIFDEQWithDigestFunction · 0.52
TestSetIFDNEWithDigestFunction · 0.52
TestDelExArgsWithDigestFunction · 0.52