fn expire_seconds(expiry: &str) -> i64
Expand description

Compute expire time in seconds from a string like “1h”, “1day”.