)// StreamComplement returns the other end of the given stream. This function// panics when passed a non-mocknet stream.funcStreamComplement(snetwork.Stream)network.Stream{returns.(*stream).rstream}// ConnComplement returns the other end of the given connection. This function// panics when passed a non-mocknet connection.funcConnComplement(cnetwork.Conn)network.Conn{returnc.(*conn).rconn}