func (this *LoginController) Exit() { r := this.Request w := this.ResponseWriter cookie := u.Cookie{HTTP: this.HTTP} cookie.DestroyCooike() http.Redirect(w, r, "/", http.StatusSeeOther) }