mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-29 12:01:29 +00:00
15 lines
430 B
Go
15 lines
430 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 {
|
||
|
OutboundDialerOptions
|
||
|
OverrideAddress string `json:"override_address,omitempty"`
|
||
|
OverridePort uint16 `json:"override_port,omitempty"`
|
||
|
}
|