package internal

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

Package internal contains credentials-internal code.

Index

Functions

func WrapSyscallConn

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.

Source Files

syscallconn.go

Version
v1.22.3
Published
Sep 11, 2019
Platform
js/wasm
Imports
2 packages
Last checked
2 minutes ago

Tools for package owners.