Commit e765b0a
api: add helper Dialer implementations
To disable SSL by default we want to transfer
`OpenSslDialer` to the go-openssl repository.
In order to do so, we need to minimize the amount of
copy-paste of the private functions.
`AuthDialer` is created as a dialer-wrapper, that
calls authentication methods.
`ProtoDialer` is created to receive and check the `ProtocolInfo`
in the created connection.
`GreetingDialer` is created to fill the `Greeting`
in the created connection.
Part of #3011 parent f02579a commit e765b0a
File tree
6 files changed
+549
-141
lines changed6 files changed
+549
-141
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
444 | 446 | | |
445 | 447 | | |
446 | 448 | | |
| |||
0 commit comments