mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-22 08:45:50 +00:00
完成xray启动
This commit is contained in:
13
xray/inbound.go
Normal file
13
xray/inbound.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user