ANN: go-hg — Mercury Protocol client & server library for Go programming language
Charles Iliya Krempeaux cikrempeaux at gmail.com
Mon Nov 1 03:30:48 GMT 2021
Hello everyone,
(And Happy Halloween for those who celebrate Halloween.)
This is my first time posting to this mailing list.
I implemented the Mercury Protocol as a Go library:
https://github.com/reiver/go-hg
This implementation includes both the client & server side of the Mercury
Protocol.
For those familiar with the Go programming language — I tried to make
package hg similar to Go's built-in "net/http" library. So that it would
seem familiar; and thus hopefully easier to work with.
⁂
For me I prefer to separate out the TLS part from the server part. So, this
implementation isn't an attempt to get rid of encryption, but instead a way
of dividing up the technology to make it easier to work with.
I was originally doing this in a Gemini Protocol Go implementation, and
calling the TLS-free version "naked Gemini". But when I started reading the
mailing list archive, and some of the gemlogs — still working through them
— and noticed Mercury was the same thing, I created Go package hg.
Coincidentally, I was using TCP port 1961 for my "naked Gemini". I noticed
someone else on the mailing list happened to pick that too. (Although for
different reasons that I did.)
⁂
Feedback is welcomed. If anyone has any questions, comments, or complaints,
let me know.
--
Charles Iliya Krempeaux, B.Sc.
cikrempeaux@gmail.com
Archive home | About this archive