package authtoken import ( "net/http" "time" ) func ExpiredCookie(secure bool) *http.Cookie { return &http.Cookie{ Name: CookieName, Value: "", Expires: time.Now(), MaxAge: -1, Secure: secure, HttpOnly: true, SameSite: http.SameSiteLaxMode, Path: "/", } }