Fork of go-gemini
Go to file
2021-02-16 00:07:01 -05:00
certificate certificate: Add Dir.Entries function 2021-01-14 21:19:27 -05:00
examples Update examples/client.go 2021-02-14 18:59:33 -05:00
tofu tofu: Implement PersistentHosts 2021-01-25 12:11:59 -05:00
.build.yml Add build manifest 2021-02-16 00:05:10 -05:00
.gitignore
client.go Make Request.Host optional 2021-02-14 19:02:34 -05:00
doc.go Update documentation 2021-02-09 10:00:04 -05:00
fs.go fs: Refactor 2021-02-14 19:50:38 -05:00
gemini.go server: Recover from ServeGemini panics 2021-02-15 00:36:33 -05:00
go.mod client: Support IDNs 2021-02-09 15:59:47 -05:00
go.sum client: Support IDNs 2021-02-09 15:59:47 -05:00
LICENSE Rename repository to go-gemini 2020-10-24 15:15:32 -04:00
mux.go server: Rename responder to handler 2021-02-15 01:15:23 -05:00
punycode.go Make Request.Host optional 2021-02-14 19:02:34 -05:00
query.go Update QueryEscape documentation 2020-12-18 00:26:47 -05:00
README.md Add build status badge to README.md 2021-02-16 00:07:01 -05:00
request_test.go Add some tests 2021-02-15 19:20:37 -05:00
request.go Remove NewRequestFromURL method 2021-02-15 17:23:56 -05:00
response_test.go Add some tests 2021-02-15 19:20:37 -05:00
response.go Return ErrInvalidResponse on error reading status 2021-02-15 19:18:23 -05:00
server.go server: Prevent adding Listeners after Close 2021-02-15 20:19:44 -05:00
status.go status: Update documentation 2021-02-14 19:28:29 -05:00
text.go Add missing error handling 2021-01-09 23:53:07 -05:00
vendor.go Rename repository to go-gemini 2020-10-24 15:15:32 -04: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.