grpc: Index | Files

package internal

import ""

Package internal contains credentials-internal code.


Package Files


func WrapSyscallConn Uses

func WrapSyscallConn(rawConn, newConn net.Conn) net.Conn

WrapSyscallConn tries to wrap rawConn and newConn into a net.Conn that implements syscall.Conn. rawConn will be used to support syscall, and newConn will be used for read/write.

This function returns newConn if rawConn doesn't implement syscall.Conn.

Package internal imports 2 packages (graph) and is imported by 1 packages. Updated 2020-07-31. Refresh now. Tools for package owners.