Commit Graph

18 Commits

Author SHA1 Message Date
adnano
2f43c191cc Reorganize 2020-09-25 19:09:49 -04:00
adnano
d36131356d Rename gemini.go to client.go 2020-09-25 19:07:40 -04:00
adnano
fdb7c9819e Move server code to its own file 2020-09-25 19:06:56 -04:00
adnano
ace3e682de Remove TLSConfig fields 2020-09-25 18:53:20 -04:00
adnano
ec68ab8609 Add test 2020-09-25 11:27:26 -04:00
adnano
99b50e6caf Sort ServeMux entries by length 2020-09-25 11:00:18 -04:00
adnano
eb8c9e0c03 Update README.md 2020-09-25 10:09:41 -04:00
adnano
0cb8083ce3 Update comments 2020-09-24 19:41:50 -04:00
adnano
57a124a8b9 Convert ResponseWriter to struct 2020-09-24 19:38:26 -04:00
adnano
4b27a736ac Use more buffered I/O 2020-09-24 19:22:35 -04:00
adnano
3980cfd28f Use buffered IO 2020-09-24 19:02:03 -04:00
adnano
891c4fbec4 Remove Client struct
Gemini requests are very simple and leave little room for customization,
so a configurable Client is not necessary.
2020-09-24 01:55:41 -04:00
adnano
ace66eceb0 Provide Response with ConnectionState 2020-09-24 01:45:26 -04:00
adnano
fde295cb25 Fix client example 2020-09-24 01:43:03 -04:00
adnano
c6802d9d9a Merge Request and RequestInfo 2020-09-24 01:37:57 -04:00
adnano
63696fc7c8 Refactor 2020-09-24 00:30:21 -04:00
adnano
6297d1e3ca Enforce valid URLs 2020-09-21 22:21:51 -04:00
adnano
86e7fe4355 Add package declaration comment 2020-09-21 22:09:50 -04:00