Obey supplied expiration time ShortenReq.ExpiresAfter
This commit is contained in:
@@ -18,8 +18,8 @@ type (
|
||||
|
||||
type (
|
||||
ShortenReq {
|
||||
LongUrl string `json:"longUrl"`
|
||||
ExpiresIn int64 `json:"expiresIn,optional"`
|
||||
LongUrl string `json:"longUrl"`
|
||||
ExpiresAfter int64 `json:"expiresAfter,optional"`
|
||||
}
|
||||
|
||||
ShortenResp {
|
||||
|
||||
Reference in New Issue
Block a user