Skip to content

Conversation

@joshcarp
Copy link

Adds new NewIOTransport function that returns a Transport.
I needed this because I'm reading/writing to a custom file descriptor.

@jba
Copy link
Contributor

jba commented Jul 11, 2025

We'd probably also want to export the IOTransport type and return that directly, in case we want to add exported fields or methods to it.

This sounds reasonable, but we're going to discuss it internally a bit, as we would with most new API. That may take a couple of weeks due to vacations.

@joshcarp
Copy link
Author

Yeah i noticed this repo isn't returning interfaces, so as a convention it's probably a good idea to make IOTransport public too

@jba jba added the needs investigation status unclear, requires more work and discussion label Jul 14, 2025
@findleyr
Copy link
Contributor

See also #376. I think this is reasonable, but we need a proposal.

@jba
Copy link
Contributor

jba commented Sep 22, 2025

I believe this is obsoleted by #376.

@findleyr
Copy link
Contributor

Yes, this is obsolete with #376, which has a proposal.

@findleyr findleyr closed this Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs investigation status unclear, requires more work and discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants