torrent/peer_protocol
Bora M. Alper 16176b762e
Add linter CI (#542)
* Add linter CI

Signed-off-by: Bora M. Alper <bora@boramalper.org>

* Make gosec CI ignore SHA1 and upload sarif

Signed-off-by: Bora M. Alper <bora@boramalper.org>

* Fix formatting of source files

Signed-off-by: Bora M. Alper <bora@boramalper.org>

* Make go vet ignore unkeyed composite literals and fix other warnings

Signed-off-by: Bora M. Alper <bora@boramalper.org>

* Make staticcheck ignore unused methods and fix other warnings

Signed-off-by: Bora M. Alper <bora@boramalper.org>

* Use golangci-lint

Signed-off-by: Bora M. Alper <bora@boramalper.org>
2021-08-16 11:11:31 +10:00
..
compactip.go Make extended handshake a struct, and move a bunch of extended stuff into peer_protocol 2018-07-10 12:20:36 +10:00
decoder.go Apply staticcheck 2020-02-20 11:09:57 +11:00
decoder_test.go Rewrite piece data decoding and relax test 2018-07-14 11:50:43 +10:00
extended.go Add explicit metadata extension types 2021-06-21 12:14:06 +10:00
handshake.go Fixes for wasm 2021-06-23 17:24:50 +10:00
int.go Add peer_protocol.Integer.Uint32 2018-07-12 09:16:40 +10:00
messagetype_string.go Add linter CI (#542) 2021-08-16 11:11:31 +10:00
metadata.go Add explicit metadata extension types 2021-06-21 12:14:06 +10:00
msg.go Add comments 2019-10-01 18:13:55 +10:00
pex.go Performance improvements to PEX 2020-10-23 08:58:55 +11:00
pex_test.go Use bytes.Reader instead of bytes.Buffer in a few places 2021-05-05 15:48:57 +10:00
protocol.go Add linter CI (#542) 2021-08-16 11:11:31 +10:00
protocol_test.go Fix fast extension message type constants 2018-02-05 18:00:47 +11:00
reqspec.go Fix peer_protocol.Message.RequestSpec for Type Piece 2018-07-13 21:33:21 +10:00