mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
完成xray启动
This commit is contained in:
17
xray/config.go
Normal file
17
xray/config.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package xray
|
||||
|
||||
import "encoding/json"
|
||||
|
||||
type Config struct {
|
||||
LogConfig json.RawMessage `json:"log"`
|
||||
RouterConfig json.RawMessage `json:"routing"`
|
||||
DNSConfig json.RawMessage `json:"dns"`
|
||||
InboundConfigs []InboundConfig `json:"inbounds"`
|
||||
OutboundConfigs json.RawMessage `json:"outbounds"`
|
||||
Transport json.RawMessage `json:"transport"`
|
||||
Policy json.RawMessage `json:"policy"`
|
||||
API json.RawMessage `json:"api"`
|
||||
Stats json.RawMessage `json:"stats"`
|
||||
Reverse json.RawMessage `json:"reverse"`
|
||||
FakeDNS json.RawMessage `json:"fakeDns"`
|
||||
}
|
||||
Reference in New Issue
Block a user