-
Notifications
You must be signed in to change notification settings - Fork 74
Add example #38
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 example #38
Conversation
e9b22f3
to
5df65df
Compare
Codecov Report
@@ Coverage Diff @@
## master #38 +/- ##
==========================================
- Coverage 87.22% 87.20% -0.03%
==========================================
Files 54 54
Lines 3844 3861 +17
==========================================
+ Hits 3353 3367 +14
- Misses 277 279 +2
- Partials 214 215 +1
Continue to review full report at Codecov.
|
Great job on the concise examples. |
@@ -0,0 +1,121 @@ | |||
// Copyright © 2020 AMIS Technologies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can move send() and connect() to pm.go? only peer manager needs these two methods.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put these two functions in node.go because I think they are related to p2p.
looks good 😌 |
Before submitting a pull request, please make sure the following is done:
Checklist
master
.