1// +build go1.11
2
3package sessions
4
5import "net/http"
6
7// Options stores configuration for a session or session store.
8//
9// Fields are a subset of http.Cookie fields.
10type Options struct {
11	Path   string
12	Domain string
13	// MaxAge=0 means no Max-Age attribute specified and the cookie will be
14	// deleted after the browser session ends.
15	// MaxAge<0 means delete cookie immediately.
16	// MaxAge>0 means Max-Age attribute present and given in seconds.
17	MaxAge   int
18	Secure   bool
19	HttpOnly bool
20	// Defaults to http.SameSiteDefaultMode
21	SameSite http.SameSite
22}
23