1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-12-03 16:48:12 +01:00
Go implementation of the Gemini protocol
Go to file
2020-12-17 17:08:45 -05:00
examples client: Add GetCertificate callback 2020-12-17 16:46:16 -05:00
.gitignore Implement certificate creation 2020-09-27 13:50:48 -04:00
cert.go Use RWMutex instead of Mutex 2020-12-17 17:08:45 -05:00
client.go client: Add GetCertificate callback 2020-12-17 16:46:16 -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 Use RWMutex instead of Mutex 2020-12-17 17:08:45 -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.