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

290 Commits

Author SHA1 Message Date
adnano
fe80359f4e Update comment 2020-10-13 19:11:59 -04:00
adnano
67b81008fd Remove NewRawCertificate function 2020-10-13 17:33:14 -04:00
adnano
d71474e8a6 Remove WriteX509KeyPair function 2020-10-13 16:50:59 -04:00
adnano
76f3ec0dcf Move certificate verification code to VerifyConnection 2020-10-13 16:44:46 -04:00
adnano
1627930aa7 examples/server: Generate new certificates when they expire 2020-10-13 14:22:15 -04:00
adnano
9648322046 Remove (*Request).Hostname function 2020-10-13 13:31:50 -04:00
adnano
a0c7ce836f Rename (*KnownHosts).Load to LoadDefault 2020-10-12 16:56:55 -04:00
adnano
1d525b4a89 Update documentation 2020-10-12 16:51:10 -04:00
adnano
3c8588bb47 Update documentation 2020-10-12 16:49:35 -04:00
adnano
e8c4512bcc Update README.md 2020-10-12 16:39:01 -04:00
adnano
7eaa0f3bce Update documentation 2020-10-12 16:34:59 -04:00
adnano
1d15fb5d9c Use a map for registering server handlers 2020-10-12 16:34:12 -04:00
adnano
98b3169a86 Update examples 2020-10-12 00:13:24 -04:00
adnano
63232c7eb8 Implement loading of certificates from a directory 2020-10-12 00:06:20 -04:00
adnano
8de7f5d8c4 Implement server certificate store 2020-10-11 23:48:18 -04:00
adnano
cdf49622e2 Remove dependency on golang.org/x/crypto 2020-10-11 21:55:30 -04:00
adnano
38e6f42295 Detect mimetypes 2020-10-11 20:13:53 -04:00
adnano
1c65b94f52 Update comments 2020-10-11 19:41:44 -04:00
adnano
037a707863 Move filesystem code to its own file 2020-10-11 18:57:04 -04:00
adnano
80828c126c Implement matching of hostnames and schemes 2020-10-11 17:53:22 -04:00
adnano
79c379c2d4 Update README.md 2020-10-11 15:23:41 -04:00
adnano
685ed38703 Fix parsing of links without names 2020-09-29 21:27:16 -04:00
adnano
1d19050f20 Create the certificate store if it does not exist 2020-09-29 11:13:16 -04:00
adnano
603704568c Add newlines after Gemini text lines 2020-09-29 10:16:55 -04:00
adnano
38387f3d62 Implement parsing of Gemini text responses 2020-09-29 10:13:57 -04:00
adnano
9c85725f3f Use path instead of filepath 2020-09-28 19:54:08 -04:00
adnano
41b0314053 Update README.md 2020-09-28 18:28:52 -04:00
adnano
980bb0e8aa Update documentation link 2020-09-28 18:22:18 -04:00
adnano
0f890caece Update module name 2020-09-28 18:19:59 -04:00
adnano
004d76265e examples/client: Add optional host argument 2020-09-28 16:13:14 -04:00
adnano
77486c2d8a Refuse requests for non-gemini schemes 2020-09-28 16:07:51 -04:00
adnano
0f358ece8d Remove support for matching schemes 2020-09-28 16:02:32 -04:00
adnano
140c8c6b9d Fix mux URL sorting logic 2020-09-28 15:33:15 -04:00
adnano
beef4fb0dc Fix client example error handling 2020-09-28 14:26:09 -04:00
adnano
88b358bb9d examples/client: Disable echo for sensitive input 2020-09-28 14:20:19 -04:00
adnano
65736ae718 Use net/http implementation of ServeMux 2020-09-28 03:15:19 -04:00
adnano
f051b33107 Move vendored code to vendor.go 2020-09-28 02:29:32 -04:00
adnano
4b8049016c Update comments 2020-09-28 02:28:28 -04:00
adnano
094312d48b Use splitHostPort function from net/url 2020-09-28 02:27:29 -04:00
adnano
7fcfc5ee41 Remove unused code 2020-09-28 02:17:56 -04:00
adnano
b053a12ffa Update comments 2020-09-28 02:16:49 -04:00
adnano
8a3d6e3321 Update comments 2020-09-28 02:13:46 -04:00
adnano
3d8e9f3c44 Don't trim trailing slash from Handler patterns 2020-09-28 02:06:15 -04:00
adnano
b34294db1a Add WithInput helper functions 2020-09-28 02:05:37 -04:00
adnano
b0ec0fe937 Use WithCertificate helper in auth example 2020-09-28 01:14:29 -04:00
adnano
49f0063186 Add WithCertificate helper function 2020-09-28 01:10:36 -04:00
adnano
813a1b8957 Remove unused import 2020-09-28 00:42:19 -04:00
adnano
5758040909 Remove NewCertificateStore function 2020-09-28 00:41:00 -04:00
adnano
3498f81339 Make the default client generate certificates 2020-09-28 00:38:11 -04:00
adnano
e19185a0b2 Update documentation 2020-09-28 00:29:11 -04:00