sing-box/option/direct.go

16 lines
480 B
Go
Raw Permalink Normal View History

2022-07-25 03:29:46 +00:00
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 {
2022-09-03 04:55:10 +00:00
DialerOptions
2022-07-25 03:29:46 +00:00
OverrideAddress string `json:"override_address,omitempty"`
OverridePort uint16 `json:"override_port,omitempty"`
2022-08-23 13:07:35 +00:00
ProxyProtocol uint8 `json:"proxy_protocol,omitempty"`
2022-07-25 03:29:46 +00:00
}