mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
remove deprecated API
This commit is contained in:
parent
dde6d89004
commit
3152d7fec3
@ -67,14 +67,6 @@ func UseAlternativeSystemDialer(dialer SystemDialer) {
|
||||
effectiveSystemDialer = dialer
|
||||
}
|
||||
|
||||
// SubstituteDialer replaces the current system dialer with a given one.
|
||||
// Caller must ensure there is no race condition.
|
||||
// @Deprecated: Use UseAlternativeSimpleSystemDialer.
|
||||
func SubstituteDialer(dialer SystemDialerAdapter) error {
|
||||
UseAlternativeSystemDialer(WithAdapter(dialer))
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
effectiveSystemDialer = &DefaultSystemDialer{}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user