Fork of go-gemini
Go to file
Adnan Maolood a65c3c3d4f Make ResponseWriter a struct
Make ResponseWriter a struct again so that it can be extended in a
backwards-compatible way.
2021-02-23 20:41:16 -05:00
certificate
examples
tofu
.build.yml
client.go client: Clarify usage of contexts 2021-02-23 18:56:18 -05:00
doc.go
fs.go Make ResponseWriter a struct 2021-02-23 20:41:16 -05:00
gemini.go
go.mod
go.sum
handler.go Make ResponseWriter a struct 2021-02-23 20:41:16 -05:00
LICENSE
mux_test.go Make ResponseWriter a struct 2021-02-23 20:41:16 -05:00
mux.go Make ResponseWriter a struct 2021-02-23 20:41:16 -05:00
query.go
README.md
request_test.go
request.go
response_test.go
response.go Make ResponseWriter a struct 2021-02-23 20:41:16 -05:00
server.go Make ResponseWriter a struct 2021-02-23 20:41:16 -05:00
status.go
text.go
timeout.go Make ResponseWriter a struct 2021-02-23 20:41:16 -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.