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

support unix socket #32

Closed
baixiaoshi opened this issue Sep 9, 2019 · 2 comments
Closed

support unix socket #32

baixiaoshi opened this issue Sep 9, 2019 · 2 comments

Comments

@baixiaoshi
Copy link

can you give a example for unix socket?

@lmb
Copy link
Contributor

lmb commented Sep 12, 2019

Hi!

You should be able to just use (Fds.Listen)[https://godoc.org/github.com/cloudflare/tableflip#Fds.Listen]. Something like Listen("unix", "/path/to/socket") should work. Keep in mind that you might have to remove /path/to/socket if a previous instance of your program crashed.

Does that answer your question?

@lmb
Copy link
Contributor

lmb commented Sep 24, 2019

@baixiaoshi I'm going to assume that the above helped, so if you don't mind I'll go ahead and close this issue.

@lmb lmb closed this as completed Oct 2, 2019
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

No branches or pull requests

2 participants