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

provide and document rsync daemon/client as a library for use in other programs #31

Open
CaledoniaProject opened this issue Jun 24, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@CaledoniaProject
Copy link

Do you have examples on how to use this package as a rsync client? And it does not seem to be published on pkg.go.dev.

@stapelberg
Copy link
Contributor

Do you have examples on how to use this package as a rsync client?

The gokr-rsync program is a receiver (downloads files). Start at https://github.com/gokrazy/rsync/blob/main/cmd/gokr-rsync/rsync.go and navigate through the code.

Or did you mean something else? In rsync, sender and receiver are the preferred terminology, as client and server can both be either sender or receiver. So, describe in as much detail as possible what you’re looking for.

And it does not seem to be published on pkg.go.dev.

But it is published on pkg.go.dev? https://pkg.go.dev/github.com/gokrazy/rsync

@CaledoniaProject
Copy link
Author

Thanks, I just want to integrate this library into my code (as a client). However, I checked the document, but there isn't much thing exposed right now.

@stapelberg
Copy link
Contributor

Yeah, we’d need a refactoring of the client bits into a library. Pull requests welcome :)

@stapelberg stapelberg changed the title examples, docs and other things provide and document rsync daemon/client as a library for use in other programs Feb 23, 2025
@stapelberg stapelberg added the enhancement New feature or request label Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants