summaryrefslogtreecommitdiff
path: root/gopher/serve.go
AgeCommit message (Collapse)Author
2023-10-09logging.Base()tjpcc
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.
2023-09-07add the server host to gopher requeststjpcc
2023-08-12move common types to an internal packagetjpcc
This helps avoid import cycles.
2023-05-03add JoinDefaultPort for servers' configurationtjpcc
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-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.