File tree 6 files changed +10
-10
lines changed
third_party/VENDOR-LICENSE/github.com/hashicorp/go-sockaddr
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ require (
19
19
github.com/hashicorp/go-rootcerts v1.0.2
20
20
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8
21
21
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2
22
- github.com/hashicorp/go-sockaddr v1.0.6
22
+ github.com/hashicorp/go-sockaddr v1.0.7
23
23
github.com/hashicorp/golang-lru v1.0.2
24
24
github.com/hashicorp/hcl v1.0.1-vault-5
25
25
github.com/kelseyhightower/envconfig v1.4.0
Original file line number Diff line number Diff line change @@ -523,8 +523,8 @@ github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 h1:iBt4Ew4XEGLfh6/bPk4rSY
523
523
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.8 /go.mod h1:aiJI+PIApBRQG7FZTEBx5GiiX+HbOHilUdNxUZi4eV0 =
524
524
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 h1:kes8mmyCpxJsI7FTwtzRqEy9CdjCtrXrXGuOpxEA7Ts =
525
525
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 /go.mod h1:Gou2R9+il93BqX25LAKCLuM+y9U2T4hlwvT1yprcna4 =
526
- github.com/hashicorp/go-sockaddr v1.0.6 h1:RSG8rKU28VTUTvEKghe5gIhIQpv8evvNpnDEyqO4u9I =
527
- github.com/hashicorp/go-sockaddr v1.0.6 /go.mod h1:uoUUmtwU7n9Dv3O4SNLeFvg0SxQ3lyjsj6+CCykpaxI =
526
+ github.com/hashicorp/go-sockaddr v1.0.7 h1:G+pTkSO01HpR5qCxg7lxfsFEZaG+C0VssTy/9dbT+Fw =
527
+ github.com/hashicorp/go-sockaddr v1.0.7 /go.mod h1:FZQbEYa1pxkQ7WLpyXJ6cbjpT8q0YgQaK/JakXqGyWw =
528
528
github.com/hashicorp/golang-lru v0.5.0 /go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8 =
529
529
github.com/hashicorp/golang-lru v0.5.1 /go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8 =
530
530
github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iPY6p1c =
Original file line number Diff line number Diff line change 68
68
run:
69
69
70
70
``` text
71
- $ go get -u github.com/hashicorp/go-sockaddr/cmd/sockaddr
71
+ $ go install github.com/hashicorp/go-sockaddr/cmd/sockaddr@latest
72
72
```
73
73
74
74
If you're familiar with UNIX's ` sockaddr ` struct's, the following diagram
Original file line number Diff line number Diff line change
1
+ //go:build android
2
+
1
3
package sockaddr
2
4
3
5
import (
4
6
"errors"
5
7
"os/exec"
6
8
)
7
9
8
- type routeInfo struct {
9
- cmds map [string ][]string
10
- }
11
-
12
10
// NewRouteInfo returns a Android-specific implementation of the RouteInfo
13
11
// interface.
14
12
func NewRouteInfo () (routeInfo , error ) {
Original file line number Diff line number Diff line change 1
- //go:build android || nacl || plan9 || js
2
- // +build android nacl plan9 js
1
+ //go:build nacl || plan9 || js
2
+ // +build nacl plan9 js
3
3
4
4
package sockaddr
5
5
Original file line number Diff line number Diff line change
1
+ //go:build solaris
2
+
1
3
package sockaddr
2
4
3
5
import (
You can’t perform that action at this time.
0 commit comments