Browse Source

修改设置有效期

master
guzeng 3 years ago
parent
commit
c9be960f32
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() defer conn.Close()
req := &SetExpire{proto.String(key), proto.Uint64(ttl), nil}
req := &SetExpireRequest{proto.String(key), proto.Uint64(ttl), nil}
res := &SetExpireResponse{} res := &SetExpireResponse{}


Loading…
Cancel
Save