Fork of go-gemini
Go to file
2020-10-31 23:05:31 -04:00
examples Guarantee that (*Response).Body is non-nil 2020-10-31 23:04:47 -04:00
.gitignore Implement certificate creation 2020-09-27 13:50:48 -04:00
cert.go Refactor client.TrustCertificate workflow 2020-10-31 22:34:51 -04:00
client.go Update documentation 2020-10-31 23:05:31 -04:00
doc.go Update documentation 2020-10-31 23:05:31 -04:00
fs.go Use strings.Builder in Fingerprint 2020-10-28 15:14:24 -04:00
gemini.go Add option to skip trust checks 2020-10-31 22:45:21 -04: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
README.md Add contributing instructions to README.md 2020-10-24 21:55:58 -04:00
request.go Reject schemes other than gemini:// in NewRequest 2020-10-27 21:18:05 -04:00
response.go Guarantee that (*Response).Body is non-nil 2020-10-31 23:04:47 -04:00
server.go Refactor client.TrustCertificate workflow 2020-10-31 22:34:51 -04: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 Refactor client.TrustCertificate workflow 2020-10-31 22:34:51 -04: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.