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

Method TTL

generic_commands.go:43–43  ·  view source on GitHub ↗
(ctx context.Context, key string)

Source from the content-addressed store, hash-verified

41 SortInterfaces(ctx context.Context, key string, sort *Sort) *SliceCmd
42 Touch(ctx context.Context, keys ...string) *IntCmd
43 TTL(ctx context.Context, key string) *DurationCmd
44 Type(ctx context.Context, key string) *StatusCmd
45 Copy(ctx context.Context, sourceKey string, destKey string, db int, replace bool) *IntCmd
46

Callers 5

commands_test.goFile · 0.65
osscluster_test.goFile · 0.65
checkKeysMethod · 0.65
ExampleClient_expire_cmdFunction · 0.65
ExampleClient_ttl_cmdFunction · 0.65

Calls

no outgoing calls

Tested by 2

ExampleClient_expire_cmdFunction · 0.52
ExampleClient_ttl_cmdFunction · 0.52