Fork of go-gemini
Go to file
2021-03-04 20:04:46 -05:00
certificate Revert "certificate: Remove Subject from CreateOptions" 2021-03-04 20:04:46 -05:00
examples Revert "certificate: Remove Subject from CreateOptions" 2021-03-04 20:04:46 -05:00
tofu tofu: Remove expiration timestamp from known hosts 2021-03-04 15:37:02 -05:00
.build.yml
client.go client: Remove hostname verification check 2021-03-04 14:36:31 -05:00
doc.go response: Revert to using fields instead of methods 2021-02-24 18:50:40 -05:00
fs.go Require Go 1.16 2021-02-28 21:38:17 -05:00
gemini.go client: Ignore certificate expiration time 2021-03-04 14:35:51 -05:00
go.mod Require Go 1.16 2021-02-28 21:38:17 -05:00
go.sum
handler.go Add message argument to TimeoutHandler 2021-02-28 22:07:24 -05:00
io.go Move I/O utilities to io.go 2021-02-23 20:49:55 -05:00
LICENSE
mux_test.go Make ResponseWriter an interface 2021-02-24 00:13:46 -05:00
mux.go Make ResponseWriter an interface 2021-02-24 00:13:46 -05:00
query.go Update documentation 2021-02-23 18:45:58 -05:00
README.md
request_test.go Make Request implement io.WriterTo 2021-02-28 22:16:38 -05:00
request.go Request.WriteTo: return int64 2021-02-28 22:20:59 -05:00
response_test.go Replace uses of ioutil with io 2021-02-28 21:38:36 -05:00
response.go Make Response implement io.WriterTo 2021-02-28 22:21:54 -05:00
server.go server: Disallow ServeConn usage after Shutdown 2021-02-24 19:25:52 -05:00
status.go
text.go text: Update documentation 2021-02-23 09:18:34 -05:00

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.