Fork of go-gemini
Go to file
2021-02-17 20:40:53 -05:00
certificate
examples examples: Use Server.Handler 2021-02-17 20:35:27 -05:00
tofu
.build.yml
client.go
doc.go
fs.go Redesign ResponseWriter interface 2021-02-17 13:36:16 -05:00
gemini.go
go.mod
go.sum
handler.go Reverse order of RedirectHandler arguments 2021-02-17 19:53:00 -05:00
LICENSE
mux_test.go mux: Implement matching of schemes and hostnames 2021-02-17 20:09:42 -05:00
mux.go mux: Implement matching of schemes and hostnames 2021-02-17 20:09:42 -05:00
punycode.go
query.go
README.md
request_test.go
request.go
response_test.go
response.go Redesign ResponseWriter interface 2021-02-17 13:36:16 -05:00
server.go server: Add Handler field and remove Handle methods 2021-02-17 20:31:03 -05:00
status.go status: Fix typo 2021-02-17 12:23:03 -05:00
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.