remove deprecated API

pull/432/head v2.20
Darien Raymond 2017-02-24 14:40:44 +01:00
parent dde6d89004
commit 3152d7fec3
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 0 additions and 8 deletions

View File

@ -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{}
}