Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cookie ¶
type Cookie struct { Name string `json:"name"` Value string `json:"value"` Path string `json:"path,omitempty"` // optional Domain string `json:"domain,omitempty"` // optional Expires time.Time `json:"expires,omitempty"` // optional RawExpires string `json:"rawExpires,omitempty"` // for reading cookies only MaxAge int `json:"maxAge"` Secure bool `json:"secure,omitempty"` HttpOnly bool `json:"httpOnly,omitempty"` SameSite http.SameSite `json:"sameSite"` Raw string `json:"raw,omitempty"` Unparsed []string `json:"unparsed,omitempty"` // Raw text of unparsed attribute-value pairs }
func (*Cookie) ToHTTPCookie ¶
Click to show internal directories.
Click to hide internal directories.