1
0
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:
Visweswara R 2018-11-28 07:32:08 +05:30 committed by Brad Fitzpatrick
parent 0c8f6cc07c
commit cb47edc0c4

View File

@ -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.