1
0
Fork 0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-05-08 19:06:11 +02:00
Go implementation of the Gemini protocol
Go to file
Adnan Maolood 79e0296bed client: Support IDNs
Convert IDNs to punycode before performing DNS lookups.
2021-02-09 15:59:47 -05:00
certificate certificate: Add Dir.Entries function 2021-01-14 21:19:27 -05:00
examples examples/client: Fix opening of known hosts file 2021-02-09 09:48:51 -05:00
tofu tofu: Implement PersistentHosts 2021-01-25 12:11:59 -05:00
.gitignore Implement certificate creation 2020-09-27 13:50:48 -04:00
LICENSE Rename repository to go-gemini 2020-10-24 15:15:32 -04:00
README.md Add Gemini specification version to README.md 2021-02-09 15:50:54 -05:00
client.go client: Support IDNs 2021-02-09 15:59:47 -05:00
doc.go Update documentation 2021-02-09 10:00:04 -05:00
fs.go Make ResponseWriter an interface 2021-02-09 09:46:18 -05:00
gemini.go Move documentation back to doc.go 2021-01-10 01:16:50 -05:00
go.mod client: Support IDNs 2021-02-09 15:59:47 -05:00
go.sum client: Support IDNs 2021-02-09 15:59:47 -05:00
mux.go Make ResponseWriter an interface 2021-02-09 09:46:18 -05:00
punycode.go client: Support IDNs 2021-02-09 15:59:47 -05:00
query.go Update QueryEscape documentation 2020-12-18 00:26:47 -05:00
request.go Make TLS field nil for unencrypted connections 2021-02-08 12:32:49 -05:00
response.go Make ResponseWriter an interface 2021-02-09 09:46:18 -05:00
server.go Make ResponseWriter an interface 2021-02-09 09:46:18 -05:00
status.go Use plain integers to represent status codes 2021-02-09 09:46:13 -05:00
text.go Add missing error handling 2021-01-09 23:53:07 -05:00
vendor.go Rename repository to go-gemini 2020-10-24 15:15:32 -04:00

go-gemini

godocs.io

Package gemini implements the Gemini protocol in Go.

It provides an API similar to that of net/http to make it easy to develop Gemini clients and servers.

Compatible with version v0.14.3 of the Gemini specification.

Usage

import "git.sr.ht/~adnano/go-gemini"

Examples

There are a few examples provided in the examples directory. To run an example:

go run examples/server.go

Contributing

Send patches and questions to ~adnano/go-gemini-devel.

Subscribe to release announcements on ~adnano/go-gemini-announce.