Fork of go-gemini
Go to file
2021-02-20 15:49:14 -05:00
certificate certificate: Implement GetCertificate callback 2021-02-19 18:42:53 -05:00
examples examples/client: Remove dependency on go-xdg 2021-02-20 15:42:06 -05:00
tofu
.build.yml
client.go client: Make Get and Do accept a Context 2021-02-20 15:34:21 -05:00
doc.go doc: Update package documentation 2021-02-18 00:38:03 -05:00
fs.go handler: Make ServeGemini accept a Context 2021-02-20 15:49:14 -05:00
gemini.go Implement TimeoutHandler 2021-02-20 00:49:21 -05:00
go.mod
go.sum
handler.go handler: Make ServeGemini accept a Context 2021-02-20 15:49:14 -05:00
LICENSE
mux_test.go handler: Make ServeGemini accept a Context 2021-02-20 15:49:14 -05:00
mux.go handler: Make ServeGemini accept a Context 2021-02-20 15:49:14 -05:00
punycode.go
query.go
README.md
request_test.go
request.go client: Make Get and Do accept a Context 2021-02-20 15:34:21 -05:00
response_test.go response: Implement Write method 2021-02-18 00:07:43 -05:00
response.go response: Implement Write method 2021-02-18 00:07:43 -05:00
server.go handler: Make ServeGemini accept a Context 2021-02-20 15:49:14 -05:00
status.go
text.go
timeout.go handler: Make ServeGemini accept a Context 2021-02-20 15:49:14 -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.