1
0
mirror of https://github.com/nitezs/sub2sing-box.git synced 2024-12-24 12:44:42 -05:00
sub2sing-box/model/simple.go
nite07 1a7944f7a1 重构部分代码
fix: vless ws 配置缺少 path 字段
2024-04-17 22:51:29 +08:00

22 lines
670 B
Go

package model
type SocksOutboundOptions struct {
DialerOptions
ServerOptions
Version string `json:"version,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
Network Listable[string] `json:"network,omitempty"`
UDPOverTCP *UDPOverTCPOptions `json:"udp_over_tcp,omitempty"`
}
type HTTPOutboundOptions struct {
DialerOptions
ServerOptions
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
OutboundTLSOptionsContainer
Path string `json:"path,omitempty"`
Headers map[string]string `json:"headers,omitempty"`
}