mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-09 18:43:14 +00:00
16 lines
480 B
Go
16 lines
480 B
Go
package option
|
|
|
|
type DirectInboundOptions struct {
|
|
ListenOptions
|
|
Network NetworkList `json:"network,omitempty"`
|
|
OverrideAddress string `json:"override_address,omitempty"`
|
|
OverridePort uint16 `json:"override_port,omitempty"`
|
|
}
|
|
|
|
type DirectOutboundOptions struct {
|
|
DialerOptions
|
|
OverrideAddress string `json:"override_address,omitempty"`
|
|
OverridePort uint16 `json:"override_port,omitempty"`
|
|
ProxyProtocol uint8 `json:"proxy_protocol,omitempty"`
|
|
}
|