Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Move Config and ACL to the top-level module #20

Merged
merged 1 commit into from
Jul 24, 2022

Conversation

hsanjuan
Copy link
Contributor

I would like to programatically generate relays configurations, however this
is slightly more difficult because, despite being exported types, they are in
the "main" package.

This PR moves them to the top-level directory so that they can be imported from
other modules.

I also took the liberty of documenting things.

I would like to programatically generate relays configurations, however this
is slightly more difficult because, despite being exported types, they are in
the "main" package.

This PR moves them to the top-level directory so that they can be imported from
other modules.

I also took the liberty of documenting things.
@hsanjuan
Copy link
Contributor Author

@lidel : tagging you as owner of the repo ?

Copy link
Contributor

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @hsanjuan!

@marten-seemann marten-seemann merged commit 58fc32b into libp2p:master Jul 24, 2022
@hsanjuan hsanjuan deleted the export-configuration branch July 31, 2022 22:26
@lidel lidel mentioned this pull request Aug 1, 2022
TheDiscordian pushed a commit to TheDiscordian/go-libp2p-relay-daemon that referenced this pull request Oct 4, 2022
I would like to programatically generate relays configurations, however this
is slightly more difficult because, despite being exported types, they are in
the "main" package.

This PR moves them to the top-level directory so that they can be imported from
other modules.

I also took the liberty of documenting things.
TheDiscordian pushed a commit to TheDiscordian/go-libp2p-relay-daemon that referenced this pull request Oct 4, 2022
I would like to programatically generate relays configurations, however this
is slightly more difficult because, despite being exported types, they are in
the "main" package.

This PR moves them to the top-level directory so that they can be imported from
other modules.

I also took the liberty of documenting things.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants