1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-09-19 14:32:59 +02:00
Go implementation of the Gemini protocol
Go to file
2021-02-16 00:07:01 -05:00
certificate
examples
tofu
.build.yml Add build manifest 2021-02-16 00:05:10 -05:00
.gitignore
client.go
doc.go
fs.go
gemini.go
go.mod
go.sum
LICENSE
mux.go
punycode.go
query.go
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
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.