Browse Source

修改设置有效期

master v0.2.1
guzeng 2 years ago
parent
commit
c91da1460e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      expire.go

+ 1
- 1
expire.go View File

@ -16,7 +16,7 @@ func SetExpire(key string, ttl uint64, url ...string) (uint64, error) {
}
defer conn.Close()
req := &SetExpire(proto.String(key),proto.Uint64(ttl), nil}
req := &SetExpire{proto.String(key), proto.Uint64(ttl), nil}
res := &SetExpireResponse{}


Loading…
Cancel
Save