|
|
@ -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 := &SetExpireRequest{proto.String(key), proto.Uint64(ttl), nil} |
|
|
|
|
|
|
|
res := &SetExpireResponse{} |
|
|
|
|
|
|
|