Skip to content

Instantly share code, notes, and snippets.

@cep21
Created August 26, 2016 23:53
Show Gist options
  • Save cep21/bbae3f6f8542b5230f047e669b909cad to your computer and use it in GitHub Desktop.
Save cep21/bbae3f6f8542b5230f047e669b909cad to your computer and use it in GitHub Desktop.
type ClientTrace struct {
// Called before a connection is established. If it returns a
// non nil object, that object is used instead for the Connection.
GetConn func(hostPort string) *net.Conn
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment