1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-09-19 10:22:01 +02:00
Go implementation of the Gemini protocol
Go to file
2021-02-15 00:36:33 -05:00
certificate
examples Update examples/client.go 2021-02-14 18:59:33 -05:00
tofu
.gitignore
client.go Make Request.Host optional 2021-02-14 19:02:34 -05:00
doc.go Update documentation 2021-02-09 10:00:04 -05:00
fs.go fs: Refactor 2021-02-14 19:50:38 -05:00
gemini.go server: Recover from ServeGemini panics 2021-02-15 00:36:33 -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
LICENSE
mux.go
punycode.go Make Request.Host optional 2021-02-14 19:02:34 -05:00
query.go
README.md Add Gemini specification version to README.md 2021-02-09 15:50:54 -05:00
request.go request: Don't read more than 1026 bytes 2021-02-15 00:16:21 -05:00
response.go Remove faulty status code check in ReadResponse 2021-02-14 18:57:13 -05:00
server.go server: Recover from ServeGemini panics 2021-02-15 00:36:33 -05:00
status.go status: Update documentation 2021-02-14 19:28:29 -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.