summaryrefslogtreecommitdiff
path: root/contrib/tlsauth/gemini.go
AgeCommit message (Collapse)Author
2023-10-09more useful tlsauth.Approver typetjpcc
the predicate function should be able to see the whole context and request
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-20"tlsauth" contrib packagetjpcc
This package adds authentication middlewares via TLS client certificates.