1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-11-10 00:32:11 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
adnano
ff53535185 Rename ResponseWriter.MediaType to SetMediaType 2021-02-21 18:52:06 -05:00
adnano
122fd434d6 Move Flush back to ResponseWriter 2021-02-21 16:06:56 -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
eba01b5e29 TimeoutHandler: Use provided context 2021-02-20 15:52:54 -05:00
adnano
2c69b88153 handler: Make ServeGemini accept a Context 2021-02-20 15:49:14 -05:00
adnano
bb51cd4eb6 client: Make Get and Do accept a Context
This removes the need for Request.Context.
2021-02-20 15:34:21 -05:00
adnano
436c844007 Implement TimeoutHandler 2021-02-20 00:49:21 -05:00