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: update globaldb example #236

Merged
merged 5 commits into from
Nov 8, 2024
Merged

Conversation

dozyio
Copy link
Contributor

@dozyio dozyio commented Aug 17, 2024

  • Use 0 as the default port so multiple copies can run
  • Use flag for daemon mode
  • Added datadir flag
  • Datadir use a temporary directory or user selected
  • Replaced deprecated ioutil
  • Updated commands to allow single character inputs
  • Added connect <multiaddr> to commands
  • Added debug to commands menu
  • Added subs to debug command to show the pubsub subscribers
  • Added ? to commands to show commands
  • Show multiaddrs as listen addresses
  • Don't display commands in daemon mode
  • Daemon mode shows number of connected peers and pubsub subscribers
  • Bumped deps
  • Added README

Had an issue with pion/stun v1.17.3 in go.mod so replaced with v0.6.1

* Use 0 as the default port so multiple copies can run
* Use flag for daemon mode
* Added datadir flag
* Datadir use a temporary directory or user selected
* Replaced deprecated `ioutil`
* Updated commands to allow single character inputs
* Added connect <multiaddr> to commands
* Added debug to commands
* Added subs to debug command to show the pubsub subscribers
* Added ? to commands to show commands
* Show multiaddrs as listen addresses
* Don't display commands in daemon mode
* Daemon mode shows number of connected peers and pubsub subscribers
* Bumped deps
* Added README

Had an issue with `pion/stun` v1.17.3 in `go.mod` so replaced with v0.6.1
@dozyio dozyio marked this pull request as ready for review August 17, 2024 11:03
@gammazero gammazero requested a review from hsanjuan August 20, 2024 16:42
@dozyio
Copy link
Contributor Author

dozyio commented Aug 22, 2024

Just as small side note - I'm working on a typescript port https://github.com/dozyio/js-ds-crdt - early days but sync is working across ts & go

examples/globaldb/go.mod Outdated Show resolved Hide resolved
Copy link
Collaborator

@hsanjuan hsanjuan 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 very much for this PR!

@hsanjuan hsanjuan merged commit 0f14947 into ipfs:master Nov 8, 2024
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