1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-16 09:26:21 -05:00
v2fly/app
Iskander Sharipov 4dfe45ec19 app/router: rewrite if-else chain to switch
From effective Go: https://golang.org/doc/effective_go.html#switch

> It's therefore possible—and idiomatic—to write an if-else-if-else chain as a switch.
2018-10-01 12:07:19 +03:00
..
commander use new errorgen 2018-09-30 23:08:41 +02:00
dispatcher use new errorgen 2018-09-30 23:08:41 +02:00
dns use new errorgen 2018-09-30 23:08:41 +02:00
log use new errorgen 2018-09-30 23:08:41 +02:00
policy use new errorgen 2018-09-30 23:08:41 +02:00
proxyman use new errorgen 2018-09-30 23:08:41 +02:00
router app/router: rewrite if-else chain to switch 2018-10-01 12:07:19 +03:00
stats use new errorgen 2018-09-30 23:08:41 +02:00
app.go massive refactoring for interoperability 2018-01-10 12:22:37 +01:00