1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-09-19 10:22:01 +02:00
Go implementation of the Gemini protocol
Go to file
2021-02-20 13:30:55 -05:00
certificate certificate: Implement GetCertificate callback 2021-02-19 18:42:53 -05:00
examples examples/server: Use certificate.Store 2021-02-19 18:45:19 -05:00
tofu
.build.yml
client.go client: Allow Request.Host to omit a port 2021-02-20 13:30:55 -05:00
doc.go doc: Update package documentation 2021-02-18 00:38:03 -05:00
fs.go
gemini.go Implement TimeoutHandler 2021-02-20 00:49:21 -05:00
go.mod
go.sum
handler.go
LICENSE
mux_test.go mux: Implement matching of schemes and hostnames 2021-02-17 20:09:42 -05:00
mux.go mux: Reject empty patterns 2021-02-19 18:06:54 -05:00
punycode.go
query.go
README.md
request_test.go
request.go client: Allow Request.Host to omit a port 2021-02-20 13:30:55 -05:00
response_test.go response: Implement Write method 2021-02-18 00:07:43 -05:00
response.go response: Implement Write method 2021-02-18 00:07:43 -05:00
server.go server: Clarify GetCertificate documentation 2021-02-19 18:53:06 -05:00
status.go
text.go
timeout.go Implement TimeoutHandler 2021-02-20 00:49:21 -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.