1
0
mirror of https://github.com/libp2p/go-libp2p-core.git synced 2025-03-18 11:40:07 +08:00
go-libp2p-core/connmgr
Marten Seemann ea8b36912f
fix staticcheck errors ()
* run go mod tidy

* omit receiver name if unused

* remove unused type testkey in tests

* fix duplicate import of go-multiaddr

* fix use of deprecated peer.IDB58{Encode,Decode}

* use bytes.Equal instead of bytes.Compare

* fix unnecessary assigments to blank identifier

* use time.Until instead of t.Sub(time.Now())

* fix use of deprecated go-multihash.ID

* add missing error check in envelope test

* fix error check in tests
2021-03-30 16:13:36 -07:00
..
decay.go decaying tags: support removal and closure. () 2020-05-15 09:27:13 +01:00
gater.go add connection gating interfaces and types. () 2020-05-13 13:15:38 +01:00
manager.go connmgr: add IsProtected interface () 2020-06-03 22:08:48 +03:00
null.go fix staticcheck errors () 2021-03-30 16:13:36 -07:00
presets.go fix staticcheck errors () 2021-03-30 16:13:36 -07:00