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

Add peer repository #25

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

elct9620
Copy link
Contributor

Warning

Due to CryptoSerializer and DeviceRepository is not ready, there are 2 peer container

  • Add ctrl.PeerRepository which is implemented by repo.Peers
  • Save all peers in PeerRepository when started
  • Use PeerRepository to get *entity.Peer in the controller

@tjjh89017 tjjh89017 merged commit 3b8d21c into tjjh89017:main Aug 26, 2024
5 checks passed
@elct9620 elct9620 deleted the chore/add-peer-repository branch August 26, 2024 14:02
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