add merciful reconnect option.

This commit is contained in:
Miroslav Šedivý
2021-08-23 18:41:19 +02:00
parent 01c0f269ee
commit b2ae808233
4 changed files with 35 additions and 14 deletions

View File

@ -50,6 +50,7 @@ type SessionManager interface {
ImplicitHosting() bool
CookieEnabled() bool
MercifulReconnect() bool
CookieSetToken(w http.ResponseWriter, token string)
CookieClearToken(w http.ResponseWriter, r *http.Request)