Fork of go-gemini
Go to file
2020-11-02 23:11:46 -05:00
examples Add Subject option in CertificateOptions 2020-11-02 23:11:46 -05:00
.gitignore Implement certificate creation 2020-09-27 13:50:48 -04:00
cert.go Add Subject option in CertificateOptions 2020-11-02 23:11:46 -05:00
client.go Store request certificate to prevent infinite loop 2020-11-02 13:47:07 -05: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 server: Populate (*Request).Certificate field 2020-11-01 16:25:59 -05:00
response.go Guarantee that (*Response).Body is non-nil 2020-10-31 23:04:47 -04:00
server.go server: Populate (*Request).Certificate field 2020-11-01 16:25:59 -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.