1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-11-10 04:41:38 +01:00
Go implementation of the Gemini protocol
Go to file
2020-11-01 14:47:26 -05:00
examples Update examples/auth.go 2020-11-01 14:47:26 -05: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 Rename InsecureTrustAlways to InsecureSkipTrust 2020-10-31 23:41:30 -04:00
doc.go Update documentation 2020-11-01 00:10:30 -04:00
fs.go Use strings.Builder in Fingerprint 2020-10-28 15:14:24 -04:00
gemini.go Don't expose DefaultClient 2020-11-01 14:27: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
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 Certificate and Input functions 2020-11-01 14:35:03 -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 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.