Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interface compatibility with *tls.Conn
In order to use struct embedding and reduce boilerplate for functions that take interfaces that return tls.ConnectionState, use the same interface as the net/tls package.
- Loading branch information
Sean Treadway
committed
Dec 5, 2016
1 parent
9bf0a87
commit b832186
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters