Xray-core/app/router
A1lo a994bf8b04
chore: fix some errors detected by staticcheck (#3089)
* chore: fix some errors detected by staticcheck

* feat: remove `rand.Seed()` usage for possibly using "fastrand64" runtime to avoid locking

ref: https://pkg.go.dev/math/rand#Seed
2024-03-03 10:52:22 -05:00
..
command chore: fix some errors detected by staticcheck (#3089) 2024-03-03 10:52:22 -05:00
balancing_override.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
balancing.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
condition_geoip_test.go fix(app/router): fixed a bug in geoip matching with refactoring (#2489) 2023-08-26 15:11:37 +00:00
condition_geoip.go fix(app/router): fixed a bug in geoip matching with refactoring (#2489) 2023-08-26 15:11:37 +00:00
condition_test.go refactor(deps): replace github.com/golang/protobuf with google.golang.org/protobuf 2023-08-10 10:43:27 -04:00
condition.go Support regex matching with attr (#2258) 2023-06-27 08:04:09 +00:00
config.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
config.pb.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
config.proto Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
errors.generated.go v1.1.0 2020-12-04 09:36:16 +08:00
router_test.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
router.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
strategy_leastload_test.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
strategy_leastload.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
strategy_leastping.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
strategy_random.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
weight_test.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
weight.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00