grpc: google.golang.org/grpc/credentials/internal Index | Files

package internal

import "google.golang.org/grpc/credentials/internal"

Package internal contains credentials-internal code.

Index

Package Files

syscallconn.go

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 2018-11-16. Refresh now. Tools for package owners.