Fork of go-gemini
Go to file
Adnan Maolood 5ab7617efd server: Fix Shutdown with no active listeners
Shutdown and Close will hang if there are no active listeners or
connections. Try to close the done channel to avoid that.
2021-02-23 09:28:14 -05:00
certificate certificate.Store: Mention GetCertificate usage 2021-02-23 09:10:22 -05:00
examples Update examples 2021-02-23 08:43:47 -05:00
tofu tofu: Update documentation 2021-02-23 09:21:21 -05:00
.build.yml
client.go client: Document use of contexts 2021-02-22 21:35:02 -05:00
doc.go
fs.go
gemini.go server: Revert to closing contexts on Shutdown 2021-02-22 21:13:44 -05:00
go.mod
go.sum
handler.go
LICENSE
mux_test.go
mux.go
query.go
README.md
request_test.go
request.go
response_test.go
response.go
server.go server: Fix Shutdown with no active listeners 2021-02-23 09:28:14 -05:00
status.go
text.go text: Update documentation 2021-02-23 09:18:34 -05:00
timeout.go
vendor.go

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.