mirror of
https://github.com/tinygo-org/net.git
synced 2026-08-05 20:33:37 +00:00
a51f3399cb
Required for net/http.
14 lines
368 B
Go
14 lines
368 B
Go
// The following is copied from Go 1.16 official implementation.
|
|
|
|
// Copyright 2010 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package net
|
|
|
|
// IPAddr represents the address of an IP end point.
|
|
type IPAddr struct {
|
|
IP IP
|
|
Zone string // IPv6 scoped addressing zone
|
|
}
|