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

client: add client v2 #121

Merged
merged 8 commits into from
Jul 4, 2024
Merged

client: add client v2 #121

merged 8 commits into from
Jul 4, 2024

Conversation

andydunstall
Copy link
Owner

See commits.

Adds an interface for the Piko client, which supports both listening on
upstream Piko endpoints and opening connections to Piko endpoints.
@andydunstall andydunstall force-pushed the add-client-v2 branch 2 times, most recently from bfe0eb8 to fdc50ed Compare July 3, 2024 07:14
Adds support for 'upstream.Listen(...)'.
Adds support for 'dialer.Dial(...)'.

Dial is simply a WebSocket to Piko that includes the endpoint ID in the
request. This can then be used as a standard net.Conn.
Updates 'piko agent' and 'piko forward' to use the new Piko client
version.
Removes 'agent/client' which has been replaced by 'client/'.
@andydunstall andydunstall force-pushed the add-client-v2 branch 2 times, most recently from 748997c to 21a5455 Compare July 4, 2024 06:46
Adds support for listening on an endpoint and forwarding connections to
an upstream address.
@andydunstall andydunstall marked this pull request as ready for review July 4, 2024 08:46
@andydunstall andydunstall merged commit 8510633 into main Jul 4, 2024
3 checks passed
@andydunstall andydunstall deleted the add-client-v2 branch July 4, 2024 08:46
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.

1 participant