Fork of go-gemini
Go to file
2021-02-23 22:02:47 -05:00
certificate certificate.Store: Mention GetCertificate usage 2021-02-23 09:10:22 -05:00
examples Update examples/client.go 2021-02-23 17:52:34 -05:00
tofu tofu: Update documentation 2021-02-23 09:21:21 -05:00
.build.yml
client.go Move I/O utilities to io.go 2021-02-23 20:49:55 -05:00
doc.go Update documentation 2021-02-23 17:52:47 -05:00
fs.go Make ResponseWriter a struct 2021-02-23 20:41:16 -05:00
gemini.go Add ResponseWriter.Hijack method 2021-02-23 21:36:29 -05:00
go.mod Require Go 1.16 2021-02-16 18:50:42 -05:00
go.sum
handler.go Make ResponseWriter a struct 2021-02-23 20:41:16 -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 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 Update documentation 2021-02-23 18:45:58 -05:00
README.md Add build status badge to README.md 2021-02-16 00:07:01 -05:00
request_test.go request: Allow User in URLs 2021-02-16 00:55:56 -05:00
request.go request: Remove TLS and Conn methods 2021-02-23 20:57:53 -05:00
response_test.go Unexport NewResponseWriter 2021-02-23 22:02:47 -05:00
response.go Unexport NewResponseWriter 2021-02-23 22:02:47 -05:00
server.go Unexport NewResponseWriter 2021-02-23 22:02:47 -05:00
status.go Make Status a type 2021-02-20 16:16:32 -05:00
text.go text: Update documentation 2021-02-23 09:18:34 -05:00
timeout.go Reimplement TimeoutHandler 2021-02-23 21:59: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.