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

feat: exposes backend #25

Merged
merged 1 commit into from
Nov 30, 2020
Merged

Conversation

Jorropo
Copy link
Contributor

@Jorropo Jorropo commented Nov 25, 2020

While impementing the go-libp2p-tor-transport
This allows to more easly implements a custom Backend allowing to do the usual instead of copy pasting the backend interface :

var _ madns.Backend = (*customTorBackend)(nil)

This allows to more easly implements a custom Backend.

Signed-off-by: Jorropo <jorropo.pgm@gmail.com>
@Stebalien
Copy link
Member

You don't actually need that type assertion. But I agree it should be public.

@Stebalien Stebalien merged commit dba25a2 into multiformats:master Nov 30, 2020
@Stebalien Stebalien mentioned this pull request May 11, 2021
27 tasks
@aschmahmann aschmahmann mentioned this pull request May 14, 2021
71 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants