Fork of go-gemini
Go to file
2021-02-28 20:50:18 -05:00
certificate certificate.Store: Check parent scopes in Lookup 2021-02-28 20:23:32 -05:00
examples examples/server: Clean up LoggingMiddleware 2021-02-27 14:53:37 -05:00
tofu
.build.yml
client.go client: Fix copying of request 2021-02-24 09:48:23 -05:00
doc.go response: Revert to using fields instead of methods 2021-02-24 18:50:40 -05:00
fs.go Don't require Go 1.16 2021-02-24 14:29:29 -05:00
gemini.go Add missing import 2021-02-24 14:28:47 -05:00
go.mod Don't require Go 1.16 2021-02-24 14:29:29 -05:00
go.sum
handler.go Remove ResponseWriter.Close method 2021-02-24 19:00:09 -05:00
io.go
LICENSE
mux_test.go
mux.go
query.go
README.md
request_test.go
request.go request: Add RemoteAddr helper function 2021-02-27 14:03:33 -05:00
response_test.go response: Add tests for maximum-length META 2021-02-27 14:08:31 -05:00
response.go Reintroduce Response.Write method 2021-02-28 20:50:18 -05:00
server.go server: Disallow ServeConn usage after Shutdown 2021-02-24 19:25:52 -05:00
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.