完成xray启动

This commit is contained in:
sprov
2021-05-27 23:04:39 +08:00
parent 56ed8f355c
commit 3cd25ce5ea
42 changed files with 3627 additions and 229 deletions

13
xray/inbound.go Normal file
View File

@@ -0,0 +1,13 @@
package xray
import "encoding/json"
type InboundConfig struct {
Listen string `json:"listen"`
Port int `json:"port"`
Protocol string `json:"protocol"`
Settings json.RawMessage `json:"settings"`
StreamSettings json.RawMessage `json:"streamSettings"`
Tag string `json:"tag"`
Sniffing json.RawMessage `json:"sniffing"`
}