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

Add golang client #32

Closed
wants to merge 1 commit into from
Closed

Conversation

saschagrunert
Copy link
Member

This adds an example golang client by doing the same like the rust
client.

@saschagrunert saschagrunert force-pushed the go-client branch 4 times, most recently from 6666732 to 1b029a1 Compare November 16, 2021 10:50
cmd/client/main.go Outdated Show resolved Hide resolved
This adds an example golang client by doing the same like the rust
client.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
@haircommander
Copy link
Collaborator

hold this for now, I think we may want to make a fully fledged library instead of a client example

@saschagrunert saschagrunert marked this pull request as draft November 16, 2021 15:25
@saschagrunert
Copy link
Member Author

Converted back to draft, @haircommander feel free to close if you wanna move over the code into your WIP.

@cgwalters
Copy link
Contributor

BTW I'm interested in your experience with cap'n proto for IPC between Rust and Go, since I have the same use case for https://github.com/containers/containers-image-proxy-rs and skopeo.

At a quick glance, it looks like capnproto/capnproto-rust#204 (comment) is the status quo on fd passing, which I think I would want versus passing all the bytes over the socketpair.

@saschagrunert
Copy link
Member Author

BTW I'm interested in your experience with cap'n proto for IPC between Rust and Go

Yeah I was thinking if IPC would be usable for us as well.

@saschagrunert
Copy link
Member Author

Part of #37

@saschagrunert saschagrunert deleted the go-client branch November 19, 2021 08:44
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.

4 participants