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

16 Commits

Author SHA1 Message Date
adnano
ef2b0a94af Revert "Replace uses of ioutil with io"
This reverts commit c5dd17f286.
2021-03-23 22:02:32 -04:00
adnano
ca2680a958 Tweak request and response parsing 2021-03-20 12:27:20 -04:00
adnano
c5dd17f286 Replace uses of ioutil with io 2021-02-28 21:38:36 -05:00
adnano
30984d0e87 response: Add tests for maximum-length META 2021-02-27 14:08:31 -05:00
adnano
c5bd598947 response: Revert to using fields instead of methods 2021-02-24 18:50:40 -05:00
adnano
6d8f1dc95f Revert "Replace uses of ioutil with io"
This reverts commit 0aa995c78c.
2021-02-24 14:45:57 -05:00
adnano
0aa995c78c Replace uses of ioutil with io 2021-02-24 11:11:10 -05:00
adnano
55e921883d response: Move to methods 2021-02-24 08:43:57 -05:00
Kaleb Elwert
0431ad1d45 Only use fs.go when fs.FS is available 2021-02-24 07:41:53 -05:00
adnano
5bb9ae237d Unexport NewResponseWriter 2021-02-23 22:02:47 -05:00
adnano
5641fb7415 Move I/O utilities to io.go 2021-02-23 20:49:55 -05:00
adnano
8b7bd5b2d7 Make Response an io.ReadCloser 2021-02-23 17:50:47 -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
38e0b9b412 response: Implement Write method 2021-02-18 00:07:43 -05:00
adnano
1d4f1baac4 Replace uses of ioutil with io 2021-02-16 18:57:24 -05:00
adnano
7d03e3c9f4 Add some tests 2021-02-15 19:20:37 -05:00