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

Rework face API and fix transports #67

Merged
merged 18 commits into from
Dec 16, 2024
Merged

Rework face API and fix transports #67

merged 18 commits into from
Dec 16, 2024

Conversation

pulsejet
Copy link
Collaborator

@pulsejet pulsejet commented Dec 14, 2024

Replace #66

  • Improve link service API (unnecessary goroutines)
  • Get PIT token functional again
  • Remove complex HasQuit signalling
  • Internal transport
  • Unix transport
  • Unix listener
  • UDP transport
  • UDP listener
  • TCP transport
  • TCP listener
  • TCP persistency
  • Websocket transport
  • Websocket listener
  • Multicast UDP transport
  • Ethernet transport (?)
  • On demand face expiry

@pulsejet pulsejet changed the title Varun/face Rework face API and fix transports Dec 14, 2024
@pulsejet pulsejet marked this pull request as ready for review December 14, 2024 08:19
@pulsejet
Copy link
Collaborator Author

Done with this, not doing ethernet at the moment

@pulsejet pulsejet requested a review from zjkmxy December 14, 2024 08:19
Copy link
Member

@zjkmxy zjkmxy left a comment

Choose a reason for hiding this comment

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

LGTM for now

time.Sleep(10 * time.Second)

// Iterate the face table
t.faces.Range(func(_, face interface{}) bool {
Copy link
Member

Choose a reason for hiding this comment

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

(Not related) Really want to see generics supported in sync package, but it seems to still have a long way to go: golang/go#47657

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, this is very annoying

face/multicast-udp-transport.go Outdated Show resolved Hide resolved
@zjkmxy
Copy link
Member

zjkmxy commented Dec 15, 2024

I may not have time to do a test run this weekends so I will not initiate merging. Varun, please merge it yourself after test and when you think it is ready.

@pulsejet
Copy link
Collaborator Author

I may not have time to do a test run this weekends so I will not initiate merging. Varun, please merge it yourself after test and when you think it is ready.

No worries, thanks again for the review :D

@pulsejet pulsejet merged commit ecdaa9a into master Dec 16, 2024
12 checks passed
@pulsejet pulsejet deleted the varun/face branch December 22, 2024 11:38
pulsejet added a commit that referenced this pull request Dec 24, 2024
Rework face API and fix transports
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