go-libp2p-core/peer
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
..
pb Signed envelopes & routing records (#73) 2020-02-10 14:53:24 -05:00
addrinfo_serde.go refactor: use a helper type to decode AddrInfo from JSON (#178) 2021-02-16 12:06:38 -08:00
addrinfo_test.go fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00
addrinfo.go fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00
peer_serde_test.go absorb {crypto,peer} test utils. (#8) 2019-05-23 16:07:58 +01:00
peer_serde.go docs: uniform comment sentences 2020-03-03 18:16:38 +01:00
peer_test.go feat: support encoding/decoding peer IDs as CIDs _in text_ 2019-10-02 08:45:33 -07:00
peer.go fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00
record_test.go Signed envelopes & routing records (#73) 2020-02-10 14:53:24 -05:00
record.go fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00
set.go fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00