func github.com/go-redis/redis/v8.formatSec
10 uses
github.com/go-redis/redis/v8 (current package)
commands.go#L28: func formatSec(ctx context.Context, dur time.Duration) int64 {
commands.go#L462: cmd := NewBoolCmd(ctx, "expire", key, formatSec(ctx, expiration))
commands.go#L768: args = append(args, "ex", formatSec(ctx, expiration))
commands.go#L788: cmd = NewBoolCmd(ctx, "set", key, value, "ex", formatSec(ctx, expiration), "nx")
commands.go#L806: cmd = NewBoolCmd(ctx, "set", key, value, "ex", formatSec(ctx, expiration), "xx")
commands.go#L1093: args[len(args)-1] = formatSec(ctx, timeout)
commands.go#L1106: args[len(keys)+1] = formatSec(ctx, timeout)
commands.go#L1119: formatSec(ctx, timeout),
commands.go#L1699: args[len(args)-1] = formatSec(ctx, timeout)
commands.go#L1713: args[len(args)-1] = formatSec(ctx, timeout)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |