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

22 Commits

Author SHA1 Message Date
adnano
a76535c921 Remove (*KnownHosts).Has function 2020-09-26 13:29:29 -04:00
adnano
6a5a7c40c5 Differentiate between unknown and untrusted certificates 2020-09-26 13:27:03 -04:00
adnano
886a92e54a Specify minimum version of TLS 1.2 2020-09-26 00:31:16 -04:00
adnano
47a6ce56f6 Fix misleading comment 2020-09-25 23:29:26 -04:00
adnano
5dae633597 Distinguish client errors from server errors 2020-09-25 23:23:24 -04:00
adnano
578746550e Refactor TOFU 2020-09-25 23:18:14 -04:00
adnano
134d0277f5 Implement basic TOFU 2020-09-25 21:43:13 -04:00
adnano
f994f3dbd0 Add method to check if hostname is found in KnownHosts 2020-09-25 20:22:48 -04:00
adnano
d11091f37d Implement configurable Client 2020-09-25 19:53:50 -04:00
adnano
d84cbcaf49 Reorganize 2020-09-25 19:09:49 -04:00
adnano
10139736e6 Rename gemini.go to client.go 2020-09-25 19:07:40 -04:00
adnano
fe4c98606f Refactor 2020-09-24 00:30:21 -04:00
adnano
d16253666e Enforce valid URLs 2020-09-21 22:21:51 -04:00
adnano
b81f6d44d4 Add package declaration comment 2020-09-21 22:09:50 -04:00
adnano
480e793d3f Refactor client requests and server responses 2020-09-21 21:31:09 -04:00
adnano
4b96665150 Provide Handler with client certificate information 2020-09-21 19:17:10 -04:00
adnano
51e1df0737 Update Client documentation 2020-09-21 18:30:55 -04:00
adnano
6884281d86 Add support for client-side certificates 2020-09-21 18:21:42 -04:00
adnano
0864b16e46 Use bufio.Reader in (*Client).Do 2020-09-21 17:58:36 -04:00
adnano
41eaa13ce9 Update documentation 2020-09-21 17:36:09 -04:00
adnano
23e24bbfc5 Add examples 2020-09-21 17:23:51 -04:00
adnano
257b807675 Initial commit 2020-09-21 15:49:09 -04:00