summaryrefslogtreecommitdiff
path: root/handler.go
AgeCommit message (Collapse)Author
2023-08-12move common types to an internal packagetjpcc
This helps avoid import cycles.
2023-05-02simple handler dispatcher for hostname-based virtual hostingtjpcc
2023-05-01name change gus -> slideruletjpcc
2023-02-15Switch Handler to an interface.tjpcc
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.
2023-01-18bugfix and some docs cleanuptjpcc
2023-01-17pull request, response, handlers out of the gemini packagetjpcc