Fork of go-gemini
Go to file
2021-02-15 01:15:23 -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
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
go.sum
LICENSE
mux.go server: Rename responder to handler 2021-02-15 01:15:23 -05:00
punycode.go Make Request.Host optional 2021-02-14 19:02:34 -05:00
query.go
README.md
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: Rename responder to handler 2021-02-15 01:15:23 -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.