Fork of go-gemini
Go to file
2020-11-27 22:27:52 -05:00
examples examples/server: Increase certificate duration 2020-11-27 17:54:26 -05:00
.gitignore Implement certificate creation 2020-09-27 13:50:48 -04:00
cert.go Escape path character in certificate scopes 2020-11-24 20:24:38 -05:00
client.go Fix escaping of queries 2020-11-27 22:27:52 -05:00
fs.go Rename (*ResponseWriter).SetMimetype to SetMediaType 2020-11-09 13:44:42 -05:00
gemini.go Move documentation to gemini.go 2020-11-09 12:07:49 -05:00
go.mod Rename repository to go-gemini 2020-10-24 15:15:32 -04:00
LICENSE Rename repository to go-gemini 2020-10-24 15:15:32 -04:00
mux.go Remove Redirect and PermanentRedirect functions 2020-10-31 16:51:10 -04:00
query.go Fix escaping of queries 2020-11-27 22:27:52 -05:00
README.md Add contributing instructions to README.md 2020-10-24 21:55:58 -04:00
request.go Fix escaping of queries 2020-11-27 22:27:52 -05:00
response.go Don't guarantee that (*Response).Body is always non-nil 2020-11-08 18:38:08 -05:00
server.go Don't assume a default scheme of gemini 2020-11-24 17:13:52 -05:00
status.go Remove Redirect and PermanentRedirect functions 2020-10-31 16:51:10 -04:00
text.go Add ParseLines function 2020-10-29 09:42:53 -04:00
tofu.go Fix known hosts expiration timestamps 2020-11-25 14:24:49 -05:00
vendor.go Rename repository to go-gemini 2020-10-24 15:15:32 -04:00

go-gemini

GoDoc

Package gemini implements the Gemini protocol in Go.

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

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.