Age | Commit message (Collapse) | Author |
|
|
|
|
|
This reverts commit 7efdcf9277c4a7be88179cb93d309d2f1e684fe6.
except the error text fix, keep that.
|
|
Fixes #4
|
|
This helps avoid import cycles.
|
|
* trying again with drone-ci and OmitHost
* typo in the InvalidFingerQuery error message
|
|
There are currently only gopher, gemini, and spartan clients. The finger client will have to implement this when it is written.
The Fetch method takes the url as a string for convenience, and parses it into a URL for RoundTrip.
Fixes #3
|
|
|
|
|
|
|
|
HandlerFunc is much better as a function returning a Handler, rather
than a newtype for the function type itself. This way there is no
confusion creating a type-inferenced variable with HandlerFunc(func(...
and then using a HandlerFunc where a Handler is expected. Much better to
only have one public type.
|
|
|
|
Some of the contrib packages were originally built gemini-specific and
had to be refactored into generic core functionality and thin
protocol-specific wrappers for each of gemini and gopher.
|