Lines Matching defs:Cookie
23 type Cookie struct { struct
24 Name string
25 Value string
26 Quoted bool // indicates whether the Value was originally quoted
28 Path string // optional
29 Domain string // optional
30 Expires time.Time // optional
31 RawExpires string // for reading cookies only
36 MaxAge int
37 Secure bool
38 HttpOnly bool
39 SameSite SameSite
40 Partitioned bool
41 Raw string
42 Unparsed []string // Raw text of unparsed attribute-value pairs
217 func SetCookie(w ResponseWriter, cookie *Cookie) {
227 func (c *Cookie) String() string {
294 func (c *Cookie) Valid() error {