ChinsyoandChinsyo dc78733196 Refactor common/antireplay, unexport unnecessary public fields. (#422)
* rename AuthIDDecoderHolder private fields

* ignore unused return value more clear

* change PoolSwap to private fields

* refactor Unlock to defer

* use const capacity, reorder code layout

* replace mismatch field name poolX with type Filter

* change AntiReplayTime to private fileds, protect to modify

* rename lastSwapTime to lastSwap

* merge duplicate time.Now.
Since the current unit is in seconds, there is no need to repeat the call

* refine negate expression

* rename antiReplayTime to interval

* add docs

* fix lint stutter issue, rename antireplay.AntiReplayWindow to antireplay.ReplayFilter

* rename fileds m,n to poolA,poolB

* rename antireplay.go to replayfilter.go

* fix build issue

Co-authored-by: Chinsyo <chinsyo@sina.cn>
2020-11-17 21:05:26 +08:00
2020-11-15 23:39:23 +08:00
2020-10-29 07:30:38 +00:00
2020-11-13 00:08:25 +00:00
2018-12-03 22:44:42 +01:00
2020-11-13 10:45:24 +08:00
2020-06-24 12:57:03 +08:00
2018-10-21 20:33:08 +02:00
2020-06-27 20:50:39 -04:00
2020-11-06 13:39:43 +00:00
2020-10-07 16:28:51 +08:00
2018-09-30 18:39:53 +02:00
2020-06-18 12:37:10 +08:00
2020-10-07 14:34:00 +08:00
2020-10-29 09:04:12 +08:00
2020-10-07 16:58:19 +08:00
2019-02-10 19:19:05 +01:00

Project V

GitHub Test Badge codecov.io GoDoc codebeat Downloads Downloads

Project V is a set of network tools that help you to build your own computer network. It secures your network connections and thus protects your privacy. See our website for more information.

License

The MIT License (MIT)

Credits

This repo relies on the following third-party projects:

S
Description
A platform for building proxies to bypass network restrictions.
Readme
82 MiB
Languages
Go 68.8%
JavaScript 31.1%
Shell 0.1%