type net.Conn
71 uses
net (current package)
dial.go#L418: func Dial(network, address string) (Conn, error) {
dial.go#L433: func DialTimeout(network, address string, timeout time.Duration) (Conn, error) {
dial.go#L452: func (d *Dialer) Dial(network, address string) (Conn, error) {
dial.go#L474: func (d *Dialer) DialContext(ctx context.Context, network, address string) (Conn, error) {
dial.go#L534: func (sd *sysDialer) dialParallel(ctx context.Context, primaries, fallbacks addrList) (Conn, error) {
dial.go#L543: Conn
dial.go#L608: func (sd *sysDialer) dialSerial(ctx context.Context, ras addrList) (Conn, error) {
dial.go#L652: func (sd *sysDialer) dialSingle(ctx context.Context, ra Addr) (c Conn, err error) {
dnsclient_unix.go#L108: func dnsPacketRoundTrip(c Conn, id uint16, query dnsmessage.Question, b []byte) (dnsmessage.Parser, dnsmessage.Header, error) {
dnsclient_unix.go#L135: func dnsStreamRoundTrip(c Conn, id uint16, query dnsmessage.Question, b []byte) (dnsmessage.Parser, dnsmessage.Header, error) {
file.go#L21: func FileConn(f *os.File) (c Conn, err error) {
file_unix.go#L70: func fileConn(f *os.File) (Conn, error) {
lookup.go#L160: Dial func(ctx context.Context, network, address string) (Conn, error)
lookup.go#L675: func (r *Resolver) dial(ctx context.Context, network, server string) (Conn, error) {
lookup.go#L681: var c Conn
net.go#L119: type Conn interface {
net.go#L404: Accept() (Conn, error)
pipe.go#L113: func Pipe() (Conn, Conn) {
tcpsock.go#L368: func (l *TCPListener) Accept() (Conn, error) {
unixsock.go#L256: func (l *UnixListener) Accept() (Conn, error) {
net/http
h2_bundle.go#L4265: func (s *http2Server) ServeConn(c net.Conn, opts *http2ServeConnOpts) {
h2_bundle.go#L4269: func (s *http2Server) serveConn(c net.Conn, opts *http2ServeConnOpts, newf func(*http2serverConn)) {
h2_bundle.go#L4405: func http2serverConnBaseContext(c net.Conn, opts *http2ServeConnOpts) (ctx context.Context, cancel func()) {
h2_bundle.go#L4426: conn net.Conn
h2_bundle.go#L7211: DialTLSContext func(ctx context.Context, network, addr string, cfg *tls.Config) (net.Conn, error)
h2_bundle.go#L7221: DialTLS func(network, addr string, cfg *tls.Config) (net.Conn, error)
h2_bundle.go#L7476: tconn net.Conn // usually *tls.Conn, except specialized impls
h2_bundle.go#L7638: conn net.Conn
h2_bundle.go#L7864: func (t *http2Transport) dialTLS(ctx context.Context, network, addr string, tlsCfg *tls.Config) (net.Conn, error) {
h2_bundle.go#L7912: func (t *http2Transport) NewClientConn(c net.Conn) (*http2ClientConn, error) {
h2_bundle.go#L7916: func (t *http2Transport) newClientConn(c net.Conn, singleUse bool) (*http2ClientConn, error) {
responsecontroller.go#L66: func (c *ResponseController) Hijack() (net.Conn, *bufio.ReadWriter, error) {
server.go#L206: Hijack() (net.Conn, *bufio.ReadWriter, error)
server.go#L266: rwc net.Conn
server.go#L317: func (c *conn) hijackLocked() (rwc net.Conn, buf *bufio.ReadWriter, err error) {
server.go#L631: func (srv *Server) newConn(rwc net.Conn) *conn {
server.go#L1873: func (c *conn) setState(nc net.Conn, state ConnState, runHook bool) {
server.go#L2155: func (w *response) Hijack() (rwc net.Conn, buf *bufio.ReadWriter, err error) {
server.go#L2954: ConnState func(net.Conn, ConnState)
server.go#L2974: ConnContext func(ctx context.Context, c net.Conn) context.Context
server.go#L3825: net.Conn
server.go#L3833: func newLoggingConn(baseName string, c net.Conn) net.Conn {
socks_bundle.go#L27: func (d *socksDialer) connect(ctx context.Context, c net.Conn, address string) (_ net.Addr, ctxErr error) {
socks_bundle.go#L262: net.Conn
socks_bundle.go#L284: ProxyDial func(context.Context, string, string) (net.Conn, error)
socks_bundle.go#L307: func (d *socksDialer) DialContext(ctx context.Context, network, address string) (net.Conn, error) {
socks_bundle.go#L317: var c net.Conn
socks_bundle.go#L343: func (d *socksDialer) DialWithConn(ctx context.Context, c net.Conn, network, address string) (net.Addr, error) {
socks_bundle.go#L366: func (d *socksDialer) Dial(network, address string) (net.Conn, error) {
socks_bundle.go#L372: var c net.Conn
transport.go#L143: DialContext func(ctx context.Context, network, addr string) (net.Conn, error)
transport.go#L155: Dial func(network, addr string) (net.Conn, error)
transport.go#L167: DialTLSContext func(ctx context.Context, network, addr string) (net.Conn, error)
transport.go#L175: DialTLS func(network, addr string) (net.Conn, error)
transport.go#L1224: func (t *Transport) dial(ctx context.Context, network, addr string) (net.Conn, error) {
transport.go#L1416: func (t *Transport) customDialTLS(ctx context.Context, network, addr string) (conn net.Conn, err error) {
transport.go#L2003: conn net.Conn
transport_default_other.go#L14: func defaultTransportDialContext(dialer *net.Dialer) func(context.Context, string, string) (net.Conn, error) {
net/http/httptrace
trace.go#L242: Conn net.Conn
crypto/tls
common.go#L453: Conn net.Conn
conn.go#L30: conn net.Conn
conn.go#L165: func (c *Conn) NetConn() net.Conn {
conn.go#L578: Conn net.Conn
conn.go#L583: func (c *Conn) newRecordHeaderError(conn net.Conn, msg string) (err RecordHeaderError) {
tls.go#L35: func Server(conn net.Conn, config *Config) *Conn {
tls.go#L48: func Client(conn net.Conn, config *Config) *Conn {
tls.go#L66: func (l *listener) Accept() (net.Conn, error) {
tls.go#L198: func (d *Dialer) Dial(network, addr string) (net.Conn, error) {
tls.go#L218: func (d *Dialer) DialContext(ctx context.Context, network, addr string) (net.Conn, error) {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |