Fork of go-gemini
Go to file
Noah Kleiner 3da7fe7cee tofu: Create path if not exists
This commit is a follow-up to 56774408 which does not take into account
the case that the parent directory of the known_hosts file does not already exist.
2021-03-09 08:50:42 -05:00
certificate certificate.Store: Don't call os.MkdirAll 2021-03-06 13:11:11 -05:00
examples Remove StatusSensitiveInput 2021-03-08 14:08:45 -05:00
tofu tofu: Create path if not exists 2021-03-09 08:50:42 -05:00
.build.yml
client.go client: Remove hostname verification check 2021-03-04 14:36:31 -05:00
doc.go
fs.go
gemini.go client: Ignore certificate expiration time 2021-03-04 14:35:51 -05:00
go.mod
go.sum
handler.go Add message argument to TimeoutHandler 2021-02-28 22:07:24 -05:00
io.go
LICENSE
middleware.go Move LoggingMiddleware out of examples/server.go 2021-03-05 11:35:01 -05:00
mux_test.go
mux.go
query.go
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
status.go Remove StatusSensitiveInput 2021-03-08 14:08:45 -05:00
text.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.