Fork of go-gemini
Go to file
2021-02-20 18:30:49 -05:00
certificate certificate.Store: Support "*" wildcard pattern 2021-02-20 18:26:15 -05:00
examples Update examples 2021-02-20 18:30:49 -05:00
tofu
.build.yml
client.go
doc.go
fs.go
gemini.go
go.mod
go.sum
handler.go Rename RedirectHandler to StatusHandler 2021-02-20 16:44:42 -05:00
LICENSE
mux_test.go
mux.go mux: Use StatusHandler instead of RedirectHandler 2021-02-20 16:45:37 -05:00
punycode.go
query.go
README.md
request_test.go
request.go server: Populate Request.Host field 2021-02-20 18:12:51 -05:00
response_test.go Make Status a type 2021-02-20 16:16:32 -05:00
response.go Make Status a type 2021-02-20 16:16:32 -05:00
server.go server: Populate Request.Host field 2021-02-20 18:12:51 -05:00
status.go Make Status a type 2021-02-20 16:16:32 -05:00
text.go
timeout.go Make Status a type 2021-02-20 16:16:32 -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.