Xray-core/common
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
..
antireplay chore fixed (#897) 2022-01-12 21:51:47 -05:00
bitmask v1.1.0 2020-12-04 09:36:16 +08:00
buf Unify environment var readers 2023-10-29 15:16:57 -04:00
bytespool v1.0.0 2020-11-25 19:01:53 +08:00
cache chore fixed (#897) 2022-01-12 21:51:47 -05:00
cmdarg v1.0.0 2020-11-25 19:01:53 +08:00
crypto fix: Replace "math/rand" with "crypto/rand" in padding generation(#2032) (#1337) 2022-11-14 09:24:24 -05:00
dice chore: fix some errors detected by staticcheck (#3089) 2024-03-03 10:52:22 -05:00
drain chore: fix some errors detected by staticcheck (#3089) 2024-03-03 10:52:22 -05:00
errors fix: dns empty response 2023-05-01 10:19:50 -04:00
log Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
mux XUDP practice: MUST check the flag first & Add more comments 2023-04-16 21:15:27 +00:00
net Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
ocsp common/ocsp: fix dropped error 2023-12-09 19:52:50 -05:00
peer v1.0.0 2020-11-25 19:01:53 +08:00
platform Unify environment var readers 2023-10-29 15:16:57 -04:00
protocol Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
reflect Remove slices dependency. (#2930) 2024-01-11 10:34:26 -05:00
retry Style: format code by gofumpt (#761) 2021-10-20 00:57:14 +08:00
serial Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
session Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
signal vformat supports multi-core processing (#757) 2021-10-12 15:29:22 +00:00
singbridge common/singbridge: fix dropped context 2024-01-02 19:56:14 -05:00
strmatcher fix(common): strmatcher match domain safety 2023-08-24 11:06:08 -04:00
task XUDP protocol: Add Global ID & UoT Migration 2023-04-06 10:21:35 +00:00
units Add statistics in conn testing 2021-12-14 20:15:05 -05:00
uuid Reformat code 2022-05-18 15:29:01 +08:00
xudp Delay XUDP Basekey read 2023-12-03 22:10:10 -05:00
common_test.go v1.1.0 2020-12-04 09:36:16 +08:00
common.go Style: format code by gofumpt (#761) 2021-10-20 00:57:14 +08:00
errors.generated.go v1.1.0 2020-12-04 09:36:16 +08:00
interfaces.go v1.1.0 2020-12-04 09:36:16 +08:00
type_test.go Style: format code by gofumpt (#761) 2021-10-20 00:57:14 +08:00
type.go Style: format code by gofumpt (#761) 2021-10-20 00:57:14 +08:00