promote gus/gemini
types, handlers, middleware to gus
package #11
Labels
No Label
bug
duplicate
easy
enhancement
help wanted
invalid
protocol
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Blocks
#12 package-level documentation
tjp/gus
Reference: tjp/gus#11
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If we intend to add more protocols (#4, #5, #6, #7), we ideally want to be able to re-use code (handlers, middlewares) across the small web protocols.
If
Handler
andMiddleware
are going to be generic, they can't very well be defined in terms ofgemini.Request
andgemini.Response
either, so those need to be promoted as well.Currently our
Request
andResponse
types directly supportio
interfaces likeReader
andWriterTo
, but the gemini protocol specific code obviously has to be kept ingus/gemini
, so there is separation needed.promote `gus/gemini` types to `gus` packageto promote `gus/gemini` types, handlers, middleware to `gus` package