1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-09-21 08:21:33 +02:00
Go implementation of the Gemini protocol
Go to file
2021-02-23 17:50:47 -05:00
certificate certificate.Store: Mention GetCertificate usage 2021-02-23 09:10:22 -05:00
examples examples/client: Stream response body 2021-02-23 15:56:44 -05:00
tofu tofu: Update documentation 2021-02-23 09:21:21 -05:00
.build.yml
client.go response: Add Conn and TLS methods 2021-02-23 16:36:17 -05:00
doc.go Update documentation 2021-02-23 14:29:37 -05:00
fs.go
gemini.go
go.mod
go.sum
handler.go
LICENSE
mux_test.go
mux.go ServeMux.HandleFunc: Take a HandlerFunc argument 2021-02-23 09:49:20 -05:00
query.go
README.md
request_test.go
request.go request: Fix documentation for TLS 2021-02-23 17:30:46 -05:00
response_test.go Make Response an io.ReadCloser 2021-02-23 17:50:47 -05:00
response.go Make Response an io.ReadCloser 2021-02-23 17:50:47 -05:00
server.go request: Add Conn and TLS methods 2021-02-23 17:29:50 -05:00
status.go
text.go text: Update documentation 2021-02-23 09:18:34 -05:00
timeout.go response: Add Close method 2021-02-23 17:32:23 -05:00
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.