Xray-core/infra/conf
Hossin Asaadi 2c72864935
API: Add user online stats (#3637)
* add statsUserOnline bool to policy

* add OnlineMap struct to stats

* apply UserOnline functionality to dispatcher

* add statsonline api command

* fix comments

* Update app/stats/online_map.go

Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>

* improve AddIP

* regenerate pb

---------

Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com>
2024-11-03 08:44:15 -05:00
..
cfgcommon/duration Observatory related fixes (#788) 2021-10-26 13:00:31 +08:00
json Reformat code 2022-05-18 15:29:01 +08:00
serial Remove legacy code (#3838) 2024-09-23 11:28:19 -04:00
api.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
blackhole_test.go v1.1.0 2020-12-04 09:36:16 +08:00
blackhole.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
buildable.go refactor(deps): replace github.com/golang/protobuf with google.golang.org/protobuf 2023-08-10 10:43:27 -04:00
common_test.go Reformat code 2022-05-18 15:29:01 +08:00
common.go Refactor: Use struct Int32Range widely (#3867) 2024-10-15 04:12:17 +00:00
conf.go Remove legacy code (#3838) 2024-09-23 11:28:19 -04:00
dns_proxy_test.go Fix dns_proxy_test.go 2023-06-19 00:51:03 +00:00
dns_proxy.go DNS outbound: Add blockTypes (#3812) 2024-09-15 04:21:51 +00:00
dns_test.go refactor(deps): replace github.com/golang/protobuf with google.golang.org/protobuf 2023-08-10 10:43:27 -04:00
dns.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
dokodemo_test.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
dokodemo.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
fakedns.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
freedom_test.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
freedom.go Refactor: Use struct Int32Range widely (#3867) 2024-10-15 04:12:17 +00:00
general_test.go refactor(deps): replace github.com/golang/protobuf with google.golang.org/protobuf 2023-08-10 10:43:27 -04:00
grpc.go Add Authority to gRPC Transport (#3076) 2024-02-29 14:22:14 +00:00
http_test.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
http.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
init.go Add Fake DNS support (#309) 2021-03-07 04:39:50 +00:00
lint.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
loader.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
log.go Log: Add MaskAddress option to hide IP addresses (#3783) 2024-09-11 10:45:47 -04:00
loopback.go refactor(deps): replace github.com/golang/protobuf with google.golang.org/protobuf 2023-08-10 10:43:27 -04:00
metrics.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
observatory.go Least load balancer (#2999) 2024-02-17 22:51:37 -05:00
policy_test.go v1.1.0 2020-12-04 09:36:16 +08:00
policy.go API: Add user online stats (#3637) 2024-11-03 08:44:15 -05:00
reverse_test.go v1.1.0 2020-12-04 09:36:16 +08:00
reverse.go refactor(deps): replace github.com/golang/protobuf with google.golang.org/protobuf 2023-08-10 10:43:27 -04:00
router_strategy.go chore: fix some typos in comments 2024-04-18 12:24:56 +08:00
router_test.go Config: Remove legacy config fields again (#3782) 2024-09-11 10:37:25 -04:00
router.go Config: Remove legacy config fields again (#3782) 2024-09-11 10:37:25 -04:00
shadowsocks_test.go remove deprecate ciphers in shadowsocks (#710) 2021-09-17 04:13:07 +08:00
shadowsocks.go API: Add new Get Inbound User (#3644) 2024-11-03 00:25:23 -04:00
socks_test.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
socks.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
transport_authenticators.go Refactor log (#3446) 2024-06-29 14:32:57 -04:00
transport_internet.go XHTTP: The real upload / download splitting (#3955) 2024-10-31 07:31:19 +00:00
transport_test.go Config: Remove global transport (#3751) 2024-09-04 18:09:16 -04:00
trojan.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
vless_test.go Legends never die (#1725) 2023-03-04 10:39:26 +00:00
vless.go Config: Remove more legacy fields (#3817) 2024-09-19 01:05:59 +00:00
vmess_test.go Clean legacy vmess (#2199) 2023-06-12 10:32:25 -04:00
vmess.go Config: Remove some legacy fields from V2Ray 3.x era (#3776) 2024-09-09 06:03:21 +00:00
wireguard_test.go WireGuard config: Replace kernelMode with noKernelTun 2024-10-18 00:10:09 +00:00
wireguard.go WireGuard config: Replace kernelMode with noKernelTun 2024-10-18 00:10:09 +00:00
xray_test.go Config: Remove legacy config fields again (#3782) 2024-09-11 10:37:25 -04:00
xray.go Errors: Add PrintRemovedFeatureError & PrintDeprecatedFeatureWarning (#3804) 2024-09-15 04:55:54 +00:00