1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-09-20 07:21:53 +02:00
Go implementation of the Gemini protocol
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
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
LICENSE
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

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.