You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Adnan Maolood 21ad3a2ded server: Disallow ServeConn usage after Shutdown 7 hours ago
certificate certificate.Store: Mention GetCertificate usage 2 days ago
examples Update examples/client.go 7 hours ago
tofu tofu: Update documentation 2 days ago
.build.yml Add build manifest 1 week ago
LICENSE Temporarily allow common names in certificates 5 months ago
README.md Add build status badge to README.md 1 week ago
client.go client: Fix copying of request 17 hours ago
doc.go Update documentation 1 day ago
fs.go Don't require Go 1.16 12 hours ago
gemini.go Add missing import 12 hours ago
go.mod client: Support IDNs 2 weeks ago
go.sum client: Support IDNs 2 weeks ago
handler.go Remove ResponseWriter.Close method 7 hours ago
io.go Move I/O utilities to io.go 1 day ago
mux.go ServeMux.HandleFunc: Take a HandlerFunc argument 2 days ago
mux_test.go handler: Make ServeGemini accept a Context 4 days ago
query.go Update documentation 1 day ago
request.go Update documentation 1 day ago
request_test.go request: Allow User in URLs 1 week ago
response.go Remove ResponseWriter.Close method 7 hours ago
response_test.go response: Revert to using fields instead of methods 8 hours ago
server.go server: Disallow ServeConn usage after Shutdown 7 hours ago
status.go Make Status a type 4 days ago
text.go text: Update documentation 2 days ago
vendor.go Rename repository to go-gemini 4 months ago

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.