Skip to content

Instantly share code, notes, and snippets.

@cep21
Created August 26, 2016 23:55
Show Gist options
  • Save cep21/878c8a09ad5a52f430b76ee752c63388 to your computer and use it in GitHub Desktop.
Save cep21/878c8a09ad5a52f430b76ee752c63388 to your computer and use it in GitHub Desktop.
type ClientTrace struct {
// Called before a connection is established. The returned context is used
// to finish processing the request.
GetConn func(ctx context.Context, hostPort string) context.Context
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment