mirror of
https://github.com/golang/go
synced 2024-11-17 14:24:50 -07:00
net: improve IPMask docs
Fixes #28957 Change-Id: Ie8ba841bd4ee71766bcfbbfbdc9173b9be867ed1 Reviewed-on: https://go-review.googlesource.com/c/go/+/151479 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
0c8f6cc07c
commit
cb47edc0c4
@ -31,7 +31,10 @@ const (
|
||||
// be an IPv4 address.
|
||||
type IP []byte
|
||||
|
||||
// An IP mask is an IP address.
|
||||
// An IPMask is a bitmask that can be used to manipulate
|
||||
// IP addresses for IP addressing and routing.
|
||||
//
|
||||
// See type IPNet and func ParseCIDR for details.
|
||||
type IPMask []byte
|
||||
|
||||
// An IPNet represents an IP network.
|
||||
|
Loading…
Reference in New Issue
Block a user