1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-09-19 18:53:43 +02:00
Commit Graph

8 Commits

Author SHA1 Message Date
adnano
61eef35c92 server: Don't recover from panics 2021-02-21 11:04:45 -05:00
adnano
070c258c8d Use StatusHandler in NotFoundHandler implementation 2021-02-21 09:32:07 -05:00
adnano
e4b704c9b1 Rename RedirectHandler to StatusHandler 2021-02-20 16:44:42 -05:00
adnano
51e324303b Remove NotFound function 2021-02-20 16:42:18 -05:00
adnano
9318ba666b Make Status a type
Using a type is better than using an integer.
2021-02-20 16:16:32 -05:00
adnano
2c69b88153 handler: Make ServeGemini accept a Context 2021-02-20 15:49:14 -05:00
adnano
413ecf9913 Reverse order of RedirectHandler arguments 2021-02-17 19:53:00 -05:00
adnano
ae803cc7ec Add utility Handler functions 2021-02-17 19:27:25 -05:00