Age | Commit message (Collapse) | Author |
|
|
|
Allow users to get access to the base logger *before* it is wrapped with the various levels.
This provides a single override point to filter or redirect all logging.
|
|
Fixes #4
|
|
This helps avoid import cycles.
|
|
|
|
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
|
|
|
|
- Request.Meta is already used as an *io.LimitedReader in spartan
servers, so by following this convention the RoundTrip method doesn't
need anything more than the *Request.
- Make a new public method for setting the body on a spartan request.
|
|
|
|
|
|
|
|
|