Fork of go-gemini
Go to file
2021-02-18 21:55:17 -05:00
certificate
examples examples: Use Server.Handler 2021-02-17 20:35:27 -05:00
tofu
.build.yml
client.go client: Remove superfluous call to Flush 2021-02-18 21:55:17 -05:00
doc.go doc: Update package documentation 2021-02-18 00:38:03 -05:00
fs.go
gemini.go
go.mod
go.sum
handler.go
LICENSE
mux_test.go
mux.go
punycode.go
query.go
README.md
request_test.go
request.go request.Write: return error from Flush 2021-02-18 21:54:38 -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
status.go
text.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.