From 90473594ee0f2e4dc1c06b0d47b0f98510df3c92 Mon Sep 17 00:00:00 2001 From: Hank Shen Date: Mon, 15 Jun 2020 16:00:32 +0800 Subject: update --- sessions.go | 1 + 1 file changed, 1 insertion(+) (limited to 'sessions.go') diff --git a/sessions.go b/sessions.go index 865d952..dc65b9e 100644 --- a/sessions.go +++ b/sessions.go @@ -193,6 +193,7 @@ func NewCookie(ctx echo.Context, name, value string) *http.Cookie { } // SetCookie for echo +// @param:ctx,key,value,maxAge(seconds),path(/),domain,secure,httpOnly,sameSite(lax/strict/default) func SetCookie(ctx echo.Context, key string, value string, args ...interface{}) { ctx.SetCookie(key, value, args...) } -- cgit v1.2.3