Commit graph

1610 commits

Author SHA1 Message Date
Marten Seemann
2330ac0497 introduce an utils.LittleEndian 2017-08-23 15:57:35 +07:00
Lucas Clemente
8ec11c0b53 Move testdata/ to internal/ 2017-08-18 12:06:36 +02:00
Marten Seemann
beadeb9da7 use sort.Slice to sort the tags in the handshake message
sort.Slice was added in Go 1.8. Now that we've dropped support for Go
1.7, we can make use of it.
2017-08-02 12:00:52 +07:00
Marten Seemann
33260d91a2 fix timestamp test such that it works in all timezones 2017-07-15 11:23:42 +07:00
Marten Seemann
03ee31d26b
make the log level env variable a string 2017-06-11 12:01:38 +02:00
Marten Seemann
7bad019ac2
order log levels ascending
Make the log level numbers more intuitive. Logging nothing is now log
level 0, debug logging is level 3.
2017-06-11 12:01:37 +02:00
Marten Seemann
c0b09c8646 make utils an internal package 2017-06-09 22:28:40 +02:00
Lucas Clemente
8b6a662223 Move flow control mocks to a separate package
This allows the other mocks to be used in the FC tests.
2017-06-09 12:08:26 +02:00
Lucas Clemente
050358bbc5 Mock CPM in streams map using gomock 2017-06-09 11:58:09 +02:00
Lucas Clemente
eeb2d8d821 Mock FlowControlManager using gomock 2017-06-08 16:06:31 +02:00