examples: add http-dialer using net/http:Client #24

Closed
cblgh wants to merge 0 commits from examples-http-client into main
Collaborator

New example that builds on echo-endpoint. It has both an http server that is served over iroh, as well as an http client (using net/http:Client.Post) that sends a POST request to the server.

With this example we've now completed the "http over iroh" loop, all done using iroh-go and the go standard library :)

Btw not sure if the makefile will work for this one? What invocation do you use to get it to build binaries (I just use my gor alias for go run during local development).

fwiw example has a lot of TODOs in the net.Conn implementation 'X)


ai code disclosure: #neverslop don't use em

New example that builds on `echo-endpoint`. It has both an http server that is served over iroh, as well as an http client (using `net/http:Client.Post`) that sends a POST request to the server. With this example we've now completed the "http over iroh" loop, all done using `iroh-go` and the go standard library :) Btw not sure if the makefile will work for this one? What invocation do you use to get it to build binaries (I just use my `gor` alias for `go run` during local development). fwiw example has a lot of TODOs in the `net.Conn` implementation 'X) --- ai code disclosure: #neverslop don't use em
cblgh added 1 commit 2026-10-22 14:13:06 +00:00
examples: add http-client using net/http:Client
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
b48ece9d40
cblgh added 1 commit 2026-10-22 14:14:01 +00:00
examples(http-dialer): readme
continuous-integration/drone/push Build is passing
1954c5fbff
cblgh added 1 commit 2026-10-23 07:08:05 +00:00
examples(http-dialer): add note about net.Conn interface
continuous-integration/drone/push Build is passing
8a35d55e10
cblgh added 1 commit 2026-10-23 07:23:07 +00:00
cblgh added 1 commit 2026-10-23 07:27:50 +00:00
examples(http-dialer): readme edits
continuous-integration/drone/push Build is passing
cdac97b70e
cblgh changed title from examples: add http-client using net/http:Client to examples: add http-dialer using net/http:Client 2026-10-23 07:46:52 +00:00
decentral1se left a comment
Owner

Super cool 🙏

I've merged it starting from b48ece9d40.

(I don't know why Gitea can't recognise the merge synchronisation 🤷‍♀️)

Super cool 🙏 I've merged it starting from https://git.coopcloud.tech/decentral1se/iroh-go/commit/b48ece9d408aaec6ce0c40116f8d8e70734837be. (I don't know why Gitea can't recognise the merge synchronisation 🤷‍♀️)
decentral1se closed this pull request 2026-10-24 14:56:03 +00:00
Author
Collaborator

@decentral1se (I don't know why Gite can't recognise the merge synchronisation 🤷‍♀️)

i saw something about this when i hovered over the merge button / looked at the instructions for manual merge. i wonder if it is a per-repo setting that isn't turned on? but also don't know what's up!

> @decentral1se (I don't know why Gite can't recognise the merge synchronisation 🤷‍♀️) i saw something about this when i hovered over the merge button / looked at the instructions for manual merge. i wonder if it is a per-repo setting that isn't turned on? but also don't know what's up!
cblgh deleted branch examples-http-client 2026-11-09 14:14:53 +00:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: decentral1se/iroh-go#24