pkg.go.dev Open in urlscan Pro
2600:1901:0:f535::  Public Scan

Submitted URL: http://golang.org/x/net
Effective URL: https://pkg.go.dev/golang.org/x/net
Submission: On July 02 via api from US — Scanned from DE

Form analysis 3 forms found in the DOM

/search

<form class="go-InputGroup go-ShortcutKey go-SearchForm-form" action="/search" data-shortcut="/" data-shortcut-alt="search" data-gtmc="search form" aria-label="Search for a package" role="search">
  <input name="q" class="go-Input js-searchFocus" aria-label="Search for a package" type="search" autocapitalize="off" autocomplete="off" autocorrect="off" spellcheck="false" placeholder="Search packages or symbols" value="">
  <input name="m" value="" hidden="">
  <button class="go-Button go-Button--inverted" aria-label="Submit search">
    <img class="go-Icon" height="24" width="24" src="/static/shared/icon/search_gm_grey_24dp.svg" alt="">
  </button>
</form>

DIALOG

<form method="dialog" data-gmtc="jump to form" aria-label="Jump to Identifier">
  <div class="Dialog-title go-Modal-header">
    <h2>Jump to</h2>
    <button class="go-Button go-Button--inline" type="button" data-modal-close="" data-gtmc="modal button" aria-label="Close">
      <img class="go-Icon" height="24" width="24" src="/static/shared/icon/close_gm_grey_24dp.svg" alt="">
    </button>
  </div>
  <div class="JumpDialog-filter">
    <input class="JumpDialog-input go-Input" autocomplete="off" type="text">
  </div>
  <div class="JumpDialog-body go-Modal-body">
    <div class="JumpDialog-list"></div>
  </div>
  <div class="go-Modal-actions">
    <button class="go-Button" data-test-id="close-dialog">Close</button>
  </div>
</form>

DIALOG

<form method="dialog">
  <div class="go-Modal-header">
    <h2>Keyboard shortcuts</h2>
    <button class="go-Button go-Button--inline" type="button" data-modal-close="" data-gtmc="modal button" aria-label="Close">
      <img class="go-Icon" height="24" width="24" src="/static/shared/icon/close_gm_grey_24dp.svg" alt="">
    </button>
  </div>
  <div class="go-Modal-body">
    <table>
      <tbody>
        <tr>
          <td class="ShortcutsDialog-key">
            <strong>?</strong>
          </td>
          <td> : This menu</td>
        </tr>
        <tr>
          <td class="ShortcutsDialog-key">
            <strong>/</strong>
          </td>
          <td> : Search site</td>
        </tr>
        <tr>
          <td class="ShortcutsDialog-key">
            <strong>f</strong> or <strong>F</strong>
          </td>
          <td> : Jump to</td>
        </tr>
        <tr>
          <td class="ShortcutsDialog-key"><strong>y</strong> or <strong>Y</strong></td>
          <td> : Canonical URL</td>
        </tr>
      </tbody>
    </table>
  </div>
  <div class="go-Modal-actions">
    <button class="go-Button" data-test-id="close-dialog">Close</button>
  </div>
</form>

Text Content

Skip to Main Content
 * Why Go
   * Case Studies
     
     Common problems companies solve with Go
   
   * Use Cases
     
     Stories about how and why companies use Go
   
   * Security Policy
     
     How Go can help keep you secure by default
 * Learn
 * Docs
   * Effective Go
     
     Tips for writing clear, performant, and idiomatic Go code
   
   * Go User Manual
     
     A complete introduction to building software with Go
   
   * Standard library
     
     Reference documentation for Go's standard library
   
   * Release Notes
     
     Learn what's new in each Go release
 * Packages
 * Community
   * Recorded Talks
     
     Videos from prior events
   
   * Meetups
     
     Meet other local Go developers
   
   * Conferences
     
     Learn and network with Go developers from around the world
   
   * Go blog
     
     The Go project's official blog.
   
   * Go project
     
     Get help and stay informed from Go
   
   * Get connected
     
     
     
     

 * Why Go
   Why Go
    * Case Studies
    * Use Cases
    * Security Policy

 * Learn
 * Docs
   Docs
    * Effective Go
    * Go User Manual
    * Standard library
    * Release Notes

 * Packages
 * Community
   Community
    * Recorded Talks
    * Meetups
    * Conferences
    * Go blog
    * Go project
    * Get connected
      


 1. Discover Packages
 2. golang.org/x/net


NET

module
Version: v0.26.0
Opens a new window with list of versions in this module.
Latest Latest

This package is not in the latest version of its module.

Go to latest Published: Jun 4, 2024 License: BSD-3-Clause
Opens a new window with license information.
Main Versions Licenses


DETAILS

 * Valid go.mod file
   
   The Go module system was introduced in Go 1.11 and is the official dependency
   management solution for Go.

 * Redistributable license
   
   Redistributable licenses place minimal restrictions on how software can be
   used, modified, and redistributed.

 * Tagged version
   
   Modules with tagged versions give importers more predictable builds.

 * Stable version
   
   When a project reaches major version v1 it is considered stable.

 * Learn more about best practices


REPOSITORY

cs.opensource.google/go/x/net


LINKS

 * Report a Vulnerability
 * Open Source Insights

Jump to ...
 * README
   * Download/Install
   * Report Issues / Send Patches
 * Directories

READMEDirectoriesDownload/InstallReport Issues / Send Patches


README ¶


GO NETWORKING



This repository holds supplementary Go networking libraries.

DOWNLOAD/INSTALL

The easiest way to install is to run go get -u golang.org/x/net. You can also
manually git clone the repository to $GOPATH/src/golang.org/x/net.

REPORT ISSUES / SEND PATCHES

This repository uses Gerrit for code changes. To learn how to submit changes to
this repository, see https://golang.org/doc/contribute.html. The main issue
tracker for the net repository is located at
https://github.com/golang/go/issues. Prefix your issue with "x/net:" in the
subject line, so it is easy to find.

Expand ▾ Collapse ▴


DIRECTORIES ¶

Show internal Expand all

Path Synopsis
bpf
Package bpf implements marshaling and unmarshaling of programs for the Berkeley
Packet Filter virtual machine, and provides a Go implementation of the virtual
machine.
Package bpf implements marshaling and unmarshaling of programs for the Berkeley
Packet Filter virtual machine, and provides a Go implementation of the virtual
machine.
context
Package context defines the Context type, which carries deadlines, cancelation
signals, and other request-scoped values across API boundaries and between
processes.
Package context defines the Context type, which carries deadlines, cancelation
signals, and other request-scoped values across API boundaries and between
processes.
ctxhttp
Package ctxhttp provides helper functions for performing context-aware HTTP
requests.
Package ctxhttp provides helper functions for performing context-aware HTTP
requests.
dict
Package dict implements the Dictionary Server Protocol as defined in RFC 2229.
Package dict implements the Dictionary Server Protocol as defined in RFC 2229.
dns
dnsmessage
Package dnsmessage provides a mostly RFC 1035 compliant implementation of DNS
message packing and unpacking.
Package dnsmessage provides a mostly RFC 1035 compliant implementation of DNS
message packing and unpacking.
html
Package html implements an HTML5-compliant tokenizer and parser.
Package html implements an HTML5-compliant tokenizer and parser.
atom
Package atom provides integer codes (also known as atoms) for a fixed set of
frequently occurring HTML strings: tag names and attribute keys such as "p" and
"id".
Package atom provides integer codes (also known as atoms) for a fixed set of
frequently occurring HTML strings: tag names and attribute keys such as "p" and
"id".
charset
Package charset provides common text encodings for HTML documents.
Package charset provides common text encodings for HTML documents.
http
httpguts
Package httpguts provides functions implementing various details of the HTTP
specification.
Package httpguts provides functions implementing various details of the HTTP
specification.
httpproxy
Package httpproxy provides support for HTTP proxy determination based on
environment variables, as provided by net/http's ProxyFromEnvironment function.
Package httpproxy provides support for HTTP proxy determination based on
environment variables, as provided by net/http's ProxyFromEnvironment function.
http2
Package http2 implements the HTTP/2 protocol.
Package http2 implements the HTTP/2 protocol.
h2c
Package h2c implements the unencrypted "h2c" form of HTTP/2.
Package h2c implements the unencrypted "h2c" form of HTTP/2.
h2i
The h2i command is an interactive HTTP/2 console.
The h2i command is an interactive HTTP/2 console.
hpack
Package hpack implements HPACK, a compression format for efficiently
representing HTTP header fields in the context of HTTP/2.
Package hpack implements HPACK, a compression format for efficiently
representing HTTP header fields in the context of HTTP/2.
h2demo Module

icmp
Package icmp provides basic functions for the manipulation of messages used in
the Internet Control Message Protocols, ICMPv4 and ICMPv6.
Package icmp provides basic functions for the manipulation of messages used in
the Internet Control Message Protocols, ICMPv4 and ICMPv6.
idna
Package idna implements IDNA2008 using the compatibility processing defined by
UTS (Unicode Technical Standard) #46, which defines a standard to deal with the
transition from IDNA2003.
Package idna implements IDNA2008 using the compatibility processing defined by
UTS (Unicode Technical Standard) #46, which defines a standard to deal with the
transition from IDNA2003.
internal
iana
Package iana provides protocol number resources managed by the Internet Assigned
Numbers Authority (IANA).
Package iana provides protocol number resources managed by the Internet Assigned
Numbers Authority (IANA).
quic/cmd/interop
The interop command is the client and server used by QUIC interoperability
tests.
The interop command is the client and server used by QUIC interoperability
tests.
socket
Package socket provides a portable interface for socket system calls.
Package socket provides a portable interface for socket system calls.
socks
Package socks provides a SOCKS version 5 client implementation.
Package socks provides a SOCKS version 5 client implementation.
sockstest
Package sockstest provides utilities for SOCKS testing.
Package sockstest provides utilities for SOCKS testing.
timeseries
Package timeseries implements a time series structure for stats collection.
Package timeseries implements a time series structure for stats collection.
ipv4
Package ipv4 implements IP-level socket options for the Internet Protocol
version 4.
Package ipv4 implements IP-level socket options for the Internet Protocol
version 4.
ipv6
Package ipv6 implements IP-level socket options for the Internet Protocol
version 6.
Package ipv6 implements IP-level socket options for the Internet Protocol
version 6.
nettest
Package nettest provides utilities for network testing.
Package nettest provides utilities for network testing.
netutil
Package netutil provides network utility functions, complementing the more
common ones in the net package.
Package netutil provides network utility functions, complementing the more
common ones in the net package.
proxy
Package proxy provides support for a variety of protocols to proxy network data.
Package proxy provides support for a variety of protocols to proxy network data.
publicsuffix
Package publicsuffix provides a public suffix list based on data from
https://publicsuffix.org/
Package publicsuffix provides a public suffix list based on data from
https://publicsuffix.org/
quic
Package quic implements the QUIC protocol.
Package quic implements the QUIC protocol.
qlog
Package qlog serializes qlog events.
Package qlog serializes qlog events.
route
Package route provides basic functions for the manipulation of packet routing
facilities on BSD variants.
Package route provides basic functions for the manipulation of packet routing
facilities on BSD variants.
trace
Package trace implements tracing of requests and long-lived objects.
Package trace implements tracing of requests and long-lived objects.
webdav
Package webdav provides a WebDAV server implementation.
Package webdav provides a WebDAV server implementation.
internal/xml
Package xml implements a simple XML 1.0 parser that understands XML name spaces.
Package xml implements a simple XML 1.0 parser that understands XML name spaces.
websocket
Package websocket implements a client and server for the WebSocket protocol as
specified in RFC 6455.
Package websocket implements a client and server for the WebSocket protocol as
specified in RFC 6455.
xsrftoken
Package xsrftoken provides methods for generating and validating secure XSRF
tokens.
Package xsrftoken provides methods for generating and validating secure XSRF
tokens.

Click to show internal directories.
Click to hide internal directories.

Why Go Use Cases Case Studies
Get Started Playground Tour Stack Overflow Help
Packages Standard Library Sub-repositories About Go Packages
About Download Blog Issue Tracker Release Notes Brand Guidelines Code of Conduct
Connect Twitter GitHub Slack r/golang Meetup Golang Weekly
 * Copyright
 * Terms of Service
 * Privacy Policy
 * Report an Issue

 * Theme Toggle

 * Shortcuts Modal


JUMP TO



Close


KEYBOARD SHORTCUTS

? : This menu / : Search site f or F : Jump to y or Y : Canonical URL

Close
go.dev uses cookies from Google to deliver and enhance the quality of its
services and to analyze traffic. Learn more.
Okay