good morning!!!!
Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
newest
· 44a92fa0
a
authored
Jun 26, 2023
44a92fa0
Hide whitespace changes
Inline
Side-by-side
contrib/codecs/dialer.go
0 → 100644
View file @
44a92fa0
package
codecs
import
(
"context"
"net"
"net/url"
"gfx.cafe/open/jrpc/contrib/codecs/http"
"gfx.cafe/open/jrpc/contrib/codecs/rdwr"
"gfx.cafe/open/jrpc/contrib/codecs/websocket"
"gfx.cafe/open/jrpc/pkg/codec"
)
func
DialContext
(
ctx
context
.
Context
,
u
string
)
(
codec
.
Conn
,
error
)
{
pu
,
err
:=
url
.
Parse
(
u
)
if
err
!=
nil
{
return
nil
,
err
}
switch
pu
.
Scheme
{
case
"http"
,
"https"
:
return
http
.
Dial
(
ctx
,
nil
,
u
)
case
"ws"
,
"wss"
:
return
websocket
.
DialWebsocket
(
ctx
,
u
,
""
)
case
"tcp"
:
tcpAddr
,
err
:=
net
.
ResolveTCPAddr
(
"tcp"
,
u
)
if
err
!=
nil
{
return
nil
,
err
}
conn
,
err
:=
net
.
DialTCP
(
"tcp"
,
nil
,
tcpAddr
)
if
err
!=
nil
{
return
nil
,
err
}
return
rdwr
.
NewClient
(
conn
,
conn
,
nil
),
nil
}
return
nil
,
nil
}
func
Dial
(
u
string
)
(
codec
.
Conn
,
error
)
{
ctx
:=
context
.
Background
()
return
DialContext
(
ctx
,
u
)
}
contrib/codecs/http/client.go
View file @
44a92fa0
...
...
@@ -48,6 +48,9 @@ func DialHTTP(target string) (*Client, error) {
}
func
Dial
(
ctx
context
.
Context
,
client
*
http
.
Client
,
target
string
)
(
*
Client
,
error
)
{
if
client
==
nil
{
client
=
http
.
DefaultClient
}
return
&
Client
{
remote
:
target
,
c
:
client
,
headers
:
http
.
Header
{}},
nil
}
...
...
go.mod
View file @
44a92fa0
...
...
@@ -9,14 +9,12 @@ require (
github.com/alecthomas/kong
v0.7.1
github.com/davecgh/go-spew
v1.1.1
github.com/deckarep/golang-set
v1.8.0
github.com/ethereum/go-ethereum
v1.11.1
github.com/go-faster/jx
v1.0.0
github.com/goccy/go-json
v0.10.0
github.com/iancoleman/strcase
v0.2.0
github.com/json-iterator/go
v1.1.12
github.com/stretchr/testify
v1.8.2
golang.org/x/sync
v0.1.0
gopkg.in/natefinch/npipe.v2
v2.0.0-20160621034901-c1b8fa8bdcce
nhooyr.io/websocket
v1.8.7
sigs.k8s.io/yaml
v1.3.0
tuxpa.in/a/zlog
v1.61.0
...
...
@@ -24,14 +22,12 @@ require (
require (
github.com/aead/chacha20
v0.0.0-20180709150244-8b13a72661da // indirect
github.com/deckarep/golang-set/v2
v2.1.0 // indirect
github.com/gin-gonic/gin
v1.7.7 // indirect
github.com/go-faster/errors
v0.6.1 // indirect
github.com/go-ole/go-ole
v1.2.6 // indirect
github.com/go-stack/stack
v1.8.1 // indirect
github.com/google/go-cmp
v0.5.8 // indirect
github.com/golang/protobuf
v1.5.2 // indirect
github.com/gorilla/websocket
v1.5.0 // indirect
github.com/klauspost/compress
v1.15.15 // indirect
github.com/kr/pretty
v0.3.1 // indirect
github.com/mattn/go-colorable
v0.1.13 // indirect
github.com/mattn/go-isatty
v0.0.18 // indirect
github.com/modern-go/concurrent
v0.0.0-20180306012644-bacd9c7ef1dd // indirect
...
...
@@ -39,12 +35,10 @@ require (
github.com/pmezard/go-difflib
v1.0.0 // indirect
github.com/rs/zerolog
v1.29.0 // indirect
github.com/segmentio/asm
v1.2.0 // indirect
github.com/shirou/gopsutil
v3.21.11+incompatible // indirect
github.com/tklauser/go-sysconf
v0.3.11 // indirect
github.com/tklauser/numcpus
v0.6.0 // indirect
github.com/yusufpapurcu/wmi
v1.2.2 // indirect
golang.org/x/crypto
v0.6.0 // indirect
golang.org/x/exp
v0.0.0-20230206171751-46f607a40771 // indirect
golang.org/x/sys
v0.7.0 // indirect
google.golang.org/protobuf
v1.28.1 // indirect
gopkg.in/check.v1
v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v2
v2.4.0 // indirect
gopkg.in/yaml.v3
v3.0.1 // indirect
...
...
go.sum
View file @
44a92fa0
...
...
@@ -12,15 +12,12 @@ github.com/alecthomas/kong v0.7.1/go.mod h1:n1iCIO2xS46oE8ZfYCNDqdR0b0wZNrXAIAqr
github.com/alecthomas/repr
v0.1.0 h1:
ENn2e1+J3k09gyj2shc0dHr/yjaWSHRlrJ4DPMevDqE=
github.com/coreos/go-systemd/v22
v22.3.3-0.20220203105225-a9a7ef127534/go.mod h1:
Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/coreos/go-systemd/v22
v22.5.0/go.mod h1:
Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/creack/pty
v1.1.9/go.mod h1:
oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew
v1.1.0/go.mod h1:
J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew
v1.1.1 h1:
vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew
v1.1.1/go.mod h1:
J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/deckarep/golang-set
v1.8.0 h1:
sk9/l/KqpunDwP7pSjUg0keiOOLEnOBHzykLrsPppp4=
github.com/deckarep/golang-set
v1.8.0/go.mod h1:
5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo=
github.com/deckarep/golang-set/v2
v2.1.0 h1:
g47V4Or+DUdzbs8FxCCmgb6VYd+ptPAngjM6dtGktsI=
github.com/deckarep/golang-set/v2
v2.1.0/go.mod h1:
VAky9rY/yGXJOLEDv3OMci+7wtDpOF4IN+y82NBOac4=
github.com/ethereum/go-ethereum
v1.11.1 h1:
EMymmWFzpS7G9l9NvVN8G73cgdUIqDPNRf2YTSGBXlk=
github.com/ethereum/go-ethereum
v1.11.1/go.mod h1:
DuefStAgaxoaYGLR0FueVcVbehmn5n9QUcVrMCuOvuc=
github.com/gin-contrib/sse
v0.1.0 h1:
Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
github.com/gin-contrib/sse
v0.1.0/go.mod h1:
RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
github.com/gin-gonic/gin
v1.6.3/go.mod h1:
75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M=
...
...
@@ -30,8 +27,6 @@ github.com/go-faster/errors v0.6.1 h1:nNIPOBkprlKzkThvS/0YaX8Zs9KewLCOSFQS5BU06F
github.com/go-faster/errors
v0.6.1/go.mod h1:
5MGV2/2T9yvlrbhe9pD9LO5Z/2zCSq2T8j+Jpi2LAyY=
github.com/go-faster/jx
v1.0.0 h1:
HE+ms2e6ZGkZ6u13t8u+onBinrPvIPI+0hWXGELm74g=
github.com/go-faster/jx
v1.0.0/go.mod h1:
zm8SlkwK+H0TYNKYtVJ/7cWFS7soJBQWhcPctKyYL/4=
github.com/go-ole/go-ole
v1.2.6 h1:
/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole
v1.2.6/go.mod h1:
pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-playground/assert/v2
v2.0.1/go.mod h1:
VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
github.com/go-playground/locales
v0.13.0 h1:
HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8ceBS/t7Q=
github.com/go-playground/locales
v0.13.0/go.mod h1:
taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8=
...
...
@@ -40,8 +35,6 @@ github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+
github.com/go-playground/validator/v10
v10.2.0/go.mod h1:
uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI=
github.com/go-playground/validator/v10
v10.4.1 h1:
pH2c5ADXtd66mxoE0Zm9SUhxE20r7aM3F26W0hOn+GE=
github.com/go-playground/validator/v10
v10.4.1/go.mod h1:
nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4=
github.com/go-stack/stack
v1.8.1 h1:
ntEHSVwIt7PNXNpgPmVfMrNhLtgjlmnZha2kOpuRiDw=
github.com/go-stack/stack
v1.8.1/go.mod h1:
dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4=
github.com/gobwas/httphead
v0.0.0-20180130184737-2c6c146eadee h1:
s+21KNqlpePfkah2I+gwHF8xmJWRjooY+5248k6m4A0=
github.com/gobwas/httphead
v0.0.0-20180130184737-2c6c146eadee/go.mod h1:
L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo=
github.com/gobwas/pool
v0.2.0 h1:
QEmUOlnSjWtnpRGHF3SauEiOsy82Cup83Vf2LcMlnc8=
...
...
@@ -53,10 +46,12 @@ github.com/goccy/go-json v0.10.0/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MG
github.com/godbus/dbus/v5
v5.0.4/go.mod h1:
xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
github.com/golang/protobuf
v1.3.3/go.mod h1:
vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
github.com/golang/protobuf
v1.3.5/go.mod h1:
6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk=
github.com/golang/protobuf
v1.5.0/go.mod h1:
FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf
v1.5.2 h1:
ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
github.com/golang/protobuf
v1.5.2/go.mod h1:
XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/google/go-cmp
v0.4.0/go.mod h1:
v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp
v0.5.5/go.mod h1:
v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp
v0.5.8 h1:
e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
github.com/google/go-cmp
v0.5.8/go.mod h1:
17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/gofuzz
v1.0.0/go.mod h1:
dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/gorilla/websocket
v1.4.1/go.mod h1:
YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/gorilla/websocket
v1.5.0 h1:
PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc=
...
...
@@ -72,9 +67,11 @@ github.com/klauspost/compress v1.15.15 h1:EF27CXIuDsYJ6mmvtBRlEuB2UVOqHG1tAXgZ7y
github.com/klauspost/compress
v1.15.15/go.mod h1:
ZcK2JAFqKOpnBlxcLsJzYfrS9X1akm9fHZNnD9+Vo/4=
github.com/kr/pretty
v0.2.1/go.mod h1:
ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty
v0.3.1 h1:
flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty
v0.3.1/go.mod h1:
hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/pty
v1.1.1/go.mod h1:
pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text
v0.1.0/go.mod h1:
4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text
v0.2.0 h1:
5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text
v0.2.0/go.mod h1:
eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/leodido/go-urn
v1.2.0 h1:
hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y=
github.com/leodido/go-urn
v1.2.0/go.mod h1:
+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII=
github.com/mattn/go-colorable
v0.1.12/go.mod h1:
u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
...
...
@@ -91,18 +88,18 @@ github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJ
github.com/modern-go/reflect2
v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:
bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
github.com/modern-go/reflect2
v1.0.2 h1:
xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
github.com/modern-go/reflect2
v1.0.2/go.mod h1:
yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/pkg/diff
v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:
pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
github.com/pkg/errors
v0.9.1/go.mod h1:
bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib
v1.0.0 h1:
4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib
v1.0.0/go.mod h1:
iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rogpeppe/go-internal
v1.9.0 h1:
73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
github.com/rogpeppe/go-internal
v1.9.0/go.mod h1:
WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
github.com/rs/xid
v1.4.0/go.mod h1:
trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
github.com/rs/zerolog
v1.28.0/go.mod h1:
NILgTygv/Uej1ra5XxGf82ZFSLk58MFGAUS2o6usyD0=
github.com/rs/zerolog
v1.29.0 h1:
Zes4hju04hjbvkVkOhdl2HpZa+0PmVwigmo8XoORE5w=
github.com/rs/zerolog
v1.29.0/go.mod h1:
NILgTygv/Uej1ra5XxGf82ZFSLk58MFGAUS2o6usyD0=
github.com/segmentio/asm
v1.2.0 h1:
9BQrFxC+YOHJlTlHGkTrFWf59nbL3XnCoFLTwDCI7ys=
github.com/segmentio/asm
v1.2.0/go.mod h1:
BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs=
github.com/shirou/gopsutil
v3.21.11+incompatible h1:
+1+c1VGhc88SSonWP6foOcLhvnKlUeu/erjjvaPEYiI=
github.com/shirou/gopsutil
v3.21.11+incompatible/go.mod h1:
5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA=
github.com/stretchr/objx
v0.1.0/go.mod h1:
HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx
v0.4.0/go.mod h1:
YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx
v0.5.0/go.mod h1:
Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
...
...
@@ -112,33 +109,26 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify
v1.8.0/go.mod h1:
yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify
v1.8.2 h1:
+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
github.com/stretchr/testify
v1.8.2/go.mod h1:
w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/tklauser/go-sysconf
v0.3.11 h1:
89WgdJhk5SNwJfu+GKyYveZ4IaJ7xAkecBo+KdJV0CM=
github.com/tklauser/go-sysconf
v0.3.11/go.mod h1:
GqXfhXY3kiPa0nAXPDIQIWzJbMCB7AmcWpGR8lSZfqI=
github.com/tklauser/numcpus
v0.6.0 h1:
kebhY2Qt+3U6RNK7UqpYNA+tJ23IBEGKkB7JQBfDYms=
github.com/tklauser/numcpus
v0.6.0/go.mod h1:
FEZLMke0lhOUG6w2JadTzp0a+Nl8PF/GFkQ5UVIcaL4=
github.com/ugorji/go
v1.1.7 h1:
/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo=
github.com/ugorji/go
v1.1.7/go.mod h1:
kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
github.com/ugorji/go/codec
v1.1.7 h1:
2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs=
github.com/ugorji/go/codec
v1.1.7/go.mod h1:
Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
github.com/yusufpapurcu/wmi
v1.2.2 h1:
KBNDSne4vP5mbSWnJbO+51IMOXJB67QiYCSBrubbPRg=
github.com/yusufpapurcu/wmi
v1.2.2/go.mod h1:
SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
golang.org/x/crypto
v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:
djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto
v0.0.0-20200622213623-75b288015ac9/go.mod h1:
LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto
v0.6.0 h1:
qfktjS5LUO+fFKeJXZ+ikTRijMmljikvG68fpMMruSc=
golang.org/x/crypto
v0.6.0/go.mod h1:
OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58=
golang.org/x/exp
v0.0.0-20230206171751-46f607a40771 h1:
xP7rWLUr1e1n2xkK5YB4LI0hPEy3LJC6Wk+D4pGlOJg=
golang.org/x/exp
v0.0.0-20230206171751-46f607a40771/go.mod h1:
CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
golang.org/x/net
v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:
t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sync
v0.1.0 h1:
wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
golang.org/x/sync
v0.1.0/go.mod h1:
RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys
v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:
STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys
v0.0.0-20190412213103-97732733099d/go.mod h1:
h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys
v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:
h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys
v0.0.0-20200116001909-b77594299b42/go.mod h1:
h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys
v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:
oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys
v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:
oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys
v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:
oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys
v0.0.0-20220915200043-7b5979e65e41/go.mod h1:
oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys
v0.2.0/go.mod h1:
oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys
v0.6.0/go.mod h1:
oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys
v0.7.0 h1:
3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU=
golang.org/x/sys
v0.7.0/go.mod h1:
oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
...
...
@@ -147,12 +137,13 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/time
v0.0.0-20191024005414-555d28b269f0/go.mod h1:
tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/tools
v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:
n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/xerrors
v0.0.0-20191204190536-9bdfabe68543/go.mod h1:
I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/protobuf
v1.26.0-rc.1/go.mod h1:
jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf
v1.26.0/go.mod h1:
9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf
v1.28.1 h1:
d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w=
google.golang.org/protobuf
v1.28.1/go.mod h1:
HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
gopkg.in/check.v1
v0.0.0-20161208181325-20d25e280405/go.mod h1:
Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1
v1.0.0-20201130134442-10cb98267c6c h1:
Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1
v1.0.0-20201130134442-10cb98267c6c/go.mod h1:
JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
gopkg.in/natefinch/npipe.v2
v2.0.0-20160621034901-c1b8fa8bdcce h1:
+JknDZhAj8YMt7GC73Ei8pv4MzjDUNPHgQWJdtMAaDU=
gopkg.in/natefinch/npipe.v2
v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:
5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c=
gopkg.in/yaml.v2
v2.2.2/go.mod h1:
hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2
v2.2.8/go.mod h1:
hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2
v2.4.0 h1:
D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
...
...