diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2024-06-28 22:08:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-29 02:08:01 +0000 |
| commit | bdf4f8c7d802c6f8ce4bbe6418d583a1449fe493 (patch) | |
| tree | 0098cad0706a2bf2e090c21f302fb5d79ce7fbd9 /docs-src/content/functions/net.yml | |
| parent | c9643cad84f95ac0086f8caa0b868364741aa6e6 (diff) | |
docs(fix): Fix broken links, add CI to check (#2156)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'docs-src/content/functions/net.yml')
| -rw-r--r-- | docs-src/content/functions/net.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs-src/content/functions/net.yml b/docs-src/content/functions/net.yml index 4afa5689..1150cd48 100644 --- a/docs-src/content/functions/net.yml +++ b/docs-src/content/functions/net.yml @@ -58,11 +58,11 @@ funcs: Resolve a DNS [`SRV` service record](https://en.wikipedia.org/wiki/SRV_record). This implementation supports the canonical [RFC2782](https://tools.ietf.org/html/rfc2782) form (i.e. `_Service._Proto.Name`), but other forms are also supported, such as - those served by [Consul's DNS interface](https://www.consul.io/docs/agent/dns.html#standard-lookup). + those served by [Consul's DNS interface](https://developer.hashicorp.com/consul/docs/services/discovery/dns-dynamic-lookups#standard-lookup). When multiple records are returned, this function returns the first. - A [`net.SRV`](https://golang.org/pkg/net/#SRV) data structure is returned. The + A [`net.SRV`](https://pkg.go.dev/net/#SRV) data structure is returned. The following properties are available: - `Target` - _(string)_ the hostname where the service can be reached - `Port` - _(uint16)_ the service's port @@ -87,11 +87,11 @@ funcs: Resolve a DNS [`SRV` service record](https://en.wikipedia.org/wiki/SRV_record). This implementation supports the canonical [RFC2782](https://tools.ietf.org/html/rfc2782) form (i.e. `_Service._Proto.Name`), but other forms are also supported, such as - those served by [Consul's DNS interface](https://www.consul.io/docs/agent/dns.html#standard-lookup). + those served by [Consul's DNS interface](https://developer.hashicorp.com/consul/docs/services/discovery/dns-dynamic-lookups#standard-lookup). This function returns all available SRV records. - An array of [`net.SRV`](https://golang.org/pkg/net/#SRV) data structures is + An array of [`net.SRV`](https://pkg.go.dev/net/#SRV) data structures is returned. For each element, the following properties are available: - `Target` - _(string)_ the hostname where the service can be reached - `Port` - _(uint16)_ the service's port @@ -154,7 +154,7 @@ funcs: 93.176.0.0/12 - name: net.ParseIP released: v3.10.0 - deprecated: Use [`net.ParseAddr`](#net-parseaddr) instead. + deprecated: Use [`net.ParseAddr`](#netparseaddr) instead. description: | Parse the given string as an IP address (a `netaddr.IP` from the [`inet.af/netaddr`](https://pkg.go.dev/inet.af/netaddr) package). @@ -199,7 +199,7 @@ funcs: true - name: net.ParseIPPrefix released: v3.10.0 - deprecated: Use [`net.ParsePrefix`](#net-parseprefix) instead. + deprecated: Use [`net.ParsePrefix`](#netparseprefix) instead. description: | Parse the given string as an IP address prefix (CIDR) representing an IP network (a `netaddr.IPPrefix` from the @@ -257,7 +257,7 @@ funcs: [1.2.3.0/25 1.2.3.128/26 1.2.3.192/27 1.2.3.224/29 1.2.3.232/31] - name: net.ParseIPRange released: v3.10.0 - deprecated: Use [`net.ParseRange`](#net-parserange) instead. + deprecated: Use [`net.ParseRange`](#netparserange-_experimental_) instead. description: | Parse the given string as an inclusive range of IP addresses from the same address family (a `netaddr.IPRange` from the [`inet.af/netaddr`][] package). |
