summaryrefslogtreecommitdiff
path: root/sessions.go
diff options
context:
space:
mode:
Diffstat (limited to 'sessions.go')
-rw-r--r--sessions.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sessions.go b/sessions.go
index 0a318ed..865d952 100644
--- a/sessions.go
+++ b/sessions.go
@@ -193,8 +193,8 @@ func NewCookie(ctx echo.Context, name, value string) *http.Cookie {
}
// SetCookie for echo
-func SetCookie(ctx echo.Context, key string, value string) {
- ctx.SetCookie(key, value)
+func SetCookie(ctx echo.Context, key string, value string, args ...interface{}) {
+ ctx.SetCookie(key, value, args...)
}
// Error ----------------------------------------------------------------------