Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Make engine in iroh_docs::protocol::Docs public #26

Open
emmyoh opened this issue Jan 3, 2025 · 0 comments
Open

Request: Make engine in iroh_docs::protocol::Docs public #26

emmyoh opened this issue Jan 3, 2025 · 0 comments

Comments

@emmyoh
Copy link

emmyoh commented Jan 3, 2025

Hello,

How feasible would it be to make the engine field of the Docs struct public? This would allow for retrieving the default author ID without async or error handling; as an alternative, perhaps the Docs struct could get a method returning a iroh_docs::engine::DefaultAuthor? I was able to do this before, but now that Docs is the protocol handler instead of Engine, I can only get the default author through the authors client, which is more of a headache because of async and Result.

Thanks!

@Arqu Arqu added this to iroh Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant