mirror of
https://github.com/nitezs/sub2sing-box.git
synced 2024-12-24 12:14:42 -05:00
22 lines
670 B
Go
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"`
|
|
}
|