Description

SetExpire sets cookie expiration time.

Set expiration time to CookieExpireDelete for expiring (deleting) the cookie on the client.

By default cookie lifetime is limited by browser session.

SetExpire is referenced in 11 repositories

github.com/valyala/fasthttp github.com/kataras/iris github.com/kataras/go-sessions

...