Fork of go-gemini
Go to file
2020-10-27 23:47:13 -04:00
examples Ensure absolute paths in client certificate store 2020-10-27 23:47:13 -04:00
.gitignore Implement certificate creation 2020-09-27 13:50:48 -04:00
cert.go Ensure absolute paths in client certificate store 2020-10-27 23:47:13 -04:00
client.go Add Client.GetInput field 2020-10-27 23:35:22 -04:00
doc.go Add (*Client).Get function 2020-10-27 19:22:34 -04:00
fs.go Add ServeFile function 2020-10-27 13:32:48 -04:00
gemini.go Restrict client certificates to certain paths 2020-10-27 23:34:06 -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
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 Make (*Response).Body an io.ReadCloser 2020-10-27 19:16:55 -04:00
server.go Add Client.GetInput field 2020-10-27 23:35:22 -04:00
status.go Add Client.GetInput field 2020-10-27 23:35:22 -04:00
text.go Remove (Text).HTML function 2020-10-26 12:49:16 -04:00
tofu.go Rename repository to go-gemini 2020-10-24 15:15:32 -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.