type net/http.Cookie
24 uses
net/http (current package)
client.go#L748: icookies map[string][]*Cookie
client.go#L751: icookies = make(map[string][]*Cookie)
cookie.go#L20: type Cookie struct {
cookie.go#L57: func readSetCookies(h Header) []*Cookie {
cookie.go#L60: return []*Cookie{}
cookie.go#L62: cookies := make([]*Cookie, 0, cookieCount)
cookie.go#L81: c := &Cookie{
cookie.go#L161: func SetCookie(w ResponseWriter, cookie *Cookie) {
cookie.go#L171: func (c *Cookie) String() string {
cookie.go#L238: func readCookies(h Header, filter string) []*Cookie {
cookie.go#L241: return []*Cookie{}
cookie.go#L244: cookies := make([]*Cookie, 0, len(lines)+strings.Count(lines[0], ";"))
cookie.go#L273: cookies = append(cookies, &Cookie{Name: name, Value: val})
jar.go#L21: SetCookies(u *url.URL, cookies []*Cookie)
jar.go#L26: Cookies(u *url.URL) []*Cookie
request.go#L409: func (r *Request) Cookies() []*Cookie {
request.go#L420: func (r *Request) Cookie(name string) (*Cookie, error) {
request.go#L433: func (r *Request) AddCookie(c *Cookie) {
response.go#L125: func (r *Response) Cookies() []*Cookie {
golang.org/x/pkgsite/internal/cookie
flash.go#L35: http.SetCookie(w, &http.Cookie{
flash.go#L44: func Base64Value(c *http.Cookie) (string, error) {
flash.go#L55: http.SetCookie(w, &http.Cookie{Name: name, Value: value, Path: urlPath})
golang.org/x/pkgsite/internal/middleware
betaRedirect.go#L34: cookie := &http.Cookie{Name: betaPkgGoDevRedirectCookie, Value: redirectParam, Path: "/"}
betaRedirect.go#L38: cookie := &http.Cookie{Name: betaPkgGoDevRedirectCookie, Value: "", MaxAge: -1, Path: "/"}
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |