Skip to content

Instantly share code, notes, and snippets.

@martinomburajr
Created May 29, 2019 04:44
Show Gist options
  • Select an option

  • Save martinomburajr/d45ba52686235e7dc324f8854c396708 to your computer and use it in GitHub Desktop.

Select an option

Save martinomburajr/d45ba52686235e7dc324f8854c396708 to your computer and use it in GitHub Desktop.
syscall.conn interface
// Conn is implemented by some types in the net and os packages to provide
// access to the underlying file descriptor or handle.
type Conn interface {
// SyscallConn returns a raw network connection.
SyscallConn() (RawConn, error)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment