Xray-core/common
nobody ac628a9427
API: Improve MarshalToJson() in common/reflect/marshal.go (#3655)
* Serialize enum to string in MarshalToJson().

* MarshalToJson() respect json tags.

* Add insertTypeInfo parameter to MarshalToJson().

* Omit empty string in MarshalToJson().

* Serialize PortList to string in MarshalToJson().

---------

Co-authored-by: nobody <nobody@nowhere.mars>
2024-08-08 10:35:46 -04: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 Fix typos (#3527) 2024-07-12 00:20:06 +02: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 Refactor log (#3446) 2024-06-29 14:32:57 -04:00
ctx Refactor log (#3446) 2024-06-29 14:32:57 -04:00
dice chore: fix some errors detected by staticcheck (#3089) 2024-03-03 10:52:22 -05:00
drain Refactor log (#3446) 2024-06-29 14:32:57 -04:00
errors Fix log severity (#3535) 2024-07-15 14:04:04 +02:00
log Generate *.pb.go files with protoc v5.27.0 2024-05-26 03:20:53 +00:00
mux Refactor log (#3446) 2024-06-29 14:32:57 -04:00
net Socks4a server: Check if the client sends an IP address as domain (#3628) 2024-08-03 02:08:23 +00:00
ocsp Refactor log (#3446) 2024-06-29 14:32:57 -04:00
peer v1.0.0 2020-11-25 19:01:53 +08:00
platform Fix typos (#3527) 2024-07-12 00:20:06 +02:00
protocol CertificateObject: Enable auto-reload for cacert & Add buildChain & Fixes (#3607) 2024-07-29 06:58:58 +00:00
reflect API: Improve MarshalToJson() in common/reflect/marshal.go (#3655) 2024-08-08 10:35:46 -04:00
retry Refactor log (#3446) 2024-06-29 14:32:57 -04:00
serial Generate *.pb.go files with protoc v5.27.0 2024-05-26 03:20:53 +00:00
session Fix typos (#3527) 2024-07-12 00:20:06 +02:00
signal Fix typos (#3527) 2024-07-12 00:20:06 +02:00
singbridge Refactor log (#3446) 2024-06-29 14:32:57 -04: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 Refactor log (#3446) 2024-06-29 14:32:57 -04: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
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 Refactor log (#3446) 2024-06-29 14:32:57 -04:00