summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2023-05-09InsecureSkipVerify and other improvements for the gemini fetch example codetjpcc
2023-05-03use sha256 for client cert fingerprints, and log them when availabletjpcc
2023-05-02fix tests and examples to match the router.Handler() changetjpcc
2023-05-01exercise router code in an exampletjpcc
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-30finger protocoltjpcc
2023-01-28gopher support.tjpcc
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.
2023-01-23logging library up to top leveltjpcc
2023-01-17Updatestjpcc
* update README * move "gemtext" to within "gemini"
2023-01-17pull request, response, handlers out of the gemini packagetjpcc
2023-01-15Completed markdown and HTML conversion.tjpcc
2023-01-14markdown convertertjpcc
2023-01-11lots more documentation commentstjpcc
2023-01-11Improvements to Server lifecycle.tjpcc
- NewServer doesn't allocate any resources besides the server object itself. So eg context.WithCancel is delayed until s.Serve(). - Add a demonstration of graceful shutdown on signals to the cgi example.
2023-01-11Simple client functionality and an example.tjpcc
2023-01-10CGI improvementstjpcc
2023-01-10Add a CGI contribtjpcc
2023-01-09Initial commit.tjpcc
some basics: - minimal README - some TODOs - server and request handler framework - contribs: file serving, request logging - server examples - CI setup