Fork of go-gemini
Go to file
Adnan Maolood fffe86680e client: Only get cert if TrustCertificate is set 2021-03-20 12:54:41 -04:00
certificate certificate.Store: Call os.MkdirAll on Load 2021-03-09 08:59:28 -05:00
examples Rename ServeMux to Mux 2021-03-15 15:44:35 -04:00
tofu tofu: Use stricter file permissions 2021-03-09 08:58:36 -05:00
.build.yml Add build manifest 2021-02-16 00:05:10 -05:00
LICENSE Rename repository to go-gemini 2020-10-24 15:15:32 -04:00
README.md Add build status badge to README.md 2021-02-16 00:07:01 -05:00
client.go client: Only get cert if TrustCertificate is set 2021-03-20 12:54:41 -04:00
doc.go Rename ServeMux to Mux 2021-03-15 15:44:35 -04:00
fs.go Require Go 1.16 2021-02-28 21:38:17 -05:00
gemini.go Tweak request and response parsing 2021-03-20 12:27:20 -04:00
go.mod Require Go 1.16 2021-02-28 21:38:17 -05:00
go.sum client: Support IDNs 2021-02-09 15:59:47 -05:00
handler.go Add message argument to TimeoutHandler 2021-02-28 22:07:24 -05:00
io.go Move I/O utilities to io.go 2021-02-23 20:49:55 -05:00
middleware.go Move LoggingMiddleware out of examples/server.go 2021-03-05 11:35:01 -05:00
mux.go Rename ServeMux to Mux 2021-03-15 15:44:35 -04:00
mux_test.go Rename ServeMux to Mux 2021-03-15 15:44:35 -04:00
query.go Update documentation 2021-02-23 18:45:58 -05:00
request.go Tweak request and response parsing 2021-03-20 12:27:20 -04:00
request_test.go Tweak request and response parsing 2021-03-20 12:27:20 -04:00
response.go Tweak request and response parsing 2021-03-20 12:27:20 -04:00
response_test.go Tweak request and response parsing 2021-03-20 12:27:20 -04:00
server.go server: Disallow ServeConn usage after Shutdown 2021-02-24 19:25:52 -05:00
status.go status: Reintroduce StatusSensitiveInput 2021-03-15 15:19:43 -04:00
text.go text: Update documentation 2021-02-23 09:18:34 -05:00

README.md

go-gemini

godocs.io builds.sr.ht status

Package gemini implements the Gemini protocol in Go.

It provides an API similar to that of net/http to make it easy to develop Gemini clients and servers.

Compatible with version v0.14.3 of the Gemini specification.

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.