go-libp2p-core/connmgr
Marten Seemann ea8b36912f
fix staticcheck errors (#191)
* 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. (#151) 2020-05-15 09:27:13 +01:00
gater.go add connection gating interfaces and types. (#139) 2020-05-13 13:15:38 +01:00
manager.go connmgr: add IsProtected interface (#158) 2020-06-03 22:08:48 +03:00
null.go fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00
presets.go fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00