mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
feat: renaming smart dialer option to outline option
This commit is contained in:
parent
ca78520e6a
commit
9657a96959
@ -1,13 +1,17 @@
|
|||||||
package option
|
package option
|
||||||
|
|
||||||
// SmartDialerOutboundOptions set the outbound options used by the outline-sdk
|
import "time"
|
||||||
|
|
||||||
|
// OutlineOutboundOptions set the outbound options used by the outline-sdk
|
||||||
// smart dialer. You can find more details about the parameters by looking
|
// smart dialer. You can find more details about the parameters by looking
|
||||||
// through the implementation: https://github.com/Jigsaw-Code/outline-sdk/blob/v0.0.18/x/smart/stream_dialer.go#L65-L100
|
// through the implementation: https://github.com/Jigsaw-Code/outline-sdk/blob/v0.0.18/x/smart/stream_dialer.go#L65-L100
|
||||||
// Or check the documentation README: https://github.com/Jigsaw-Code/outline-sdk/tree/v0.0.18/x/smart
|
// Or check the documentation README: https://github.com/Jigsaw-Code/outline-sdk/tree/v0.0.18/x/smart
|
||||||
type SmartDialerOutboundOptions struct {
|
type OutlineOutboundOptions struct {
|
||||||
DialerOptions
|
DialerOptions
|
||||||
DNSResolvers []DNSEntryConfig `json:"dns,omitempty"`
|
DNSResolvers []DNSEntryConfig `json:"dns,omitempty" yaml:"dns,omitempty"`
|
||||||
TLS []string `json:"tls,omitempty"`
|
TLS []string `json:"tls,omitempty" yaml:"tls,omitempty"`
|
||||||
|
TestTimeout *time.Duration `json:"test_timeout" yaml:"-"`
|
||||||
|
Domains []string `json:"domains" yaml:"-"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// DNSEntryConfig specifies a list of resolvers to test and they can be one of
|
// DNSEntryConfig specifies a list of resolvers to test and they can be one of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user