miniredis
miniredis copied to clipboard
Add Support for GET TTL
Like the Golang Redis client, which supports getting the TTL of a key, Can we add the same to mini Redis? https://pkg.go.dev/github.com/redis/go-redis/[email protected]#Client.TTL
On Mon, Dec 09, 2024 at 02:36:50AM -0800, mahigadamsetty wrote:
Like the Golang Redis client, which supports getting the TTL of a key, Can we add the same to mini Redis? @.***#Client.TTL
You mean directly? Sure, maybe make a PR? Otherwise I can have a look soon.
sure I am interested will make a PR