Commit cb47edc0 authored by Visweswara R's avatar Visweswara R Committed by Brad Fitzpatrick

net: improve IPMask docs

Fixes #28957

Change-Id: Ie8ba841bd4ee71766bcfbbfbdc9173b9be867ed1
Reviewed-on: https://go-review.googlesource.com/c/go/+/151479Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 0c8f6cc0
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment