1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-09-19 23:01:37 +02:00
Go implementation of the Gemini protocol
Go to file
adnano 8c35c85ab2 server: Don't populate Request.Certificate field
Handlers should instead use the certificate provided in Request.TLS.
2021-02-14 17:34:57 -05:00
certificate
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
client.go Update Client documentation 2021-02-14 17:11:05 -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
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
LICENSE
mux.go Make ResponseWriter an interface 2021-02-09 09:46:18 -05:00
punycode.go client: Punycode request URL 2021-02-09 16:55:14 -05:00
query.go
README.md Add Gemini specification version to README.md 2021-02-09 15:50:54 -05:00
request.go server: Don't populate Request.Certificate field 2021-02-14 17:34:57 -05:00
response.go Update Response documentation 2021-02-14 16:23:38 -05:00
server.go server: Don't populate Request.Certificate field 2021-02-14 17:34:57 -05:00
status.go Update Response documentation 2021-02-14 16:23:38 -05:00
text.go
vendor.go

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.