Fork of go-gemini
Go to file
Adnan Maolood ad18ae601c fs: Don't panic on mime.AddExtensionType error
It's probably best not to panic if this fails.
2021-01-14 22:25:09 -05:00
certificate certificate: Add Dir.Entries function 2021-01-14 21:19:27 -05:00
examples server: Rename Register to Handle 2021-01-14 22:12:07 -05:00
tofu tofu: Fix example 2021-01-14 19:57:52 -05:00
.gitignore
client.go client: set the client timout on the dialer, close connection on err 2021-01-13 17:13:56 -05:00
doc.go Update documentation 2021-01-10 01:21:56 -05:00
fs.go fs: Don't panic on mime.AddExtensionType error 2021-01-14 22:25:09 -05:00
gemini.go Move documentation back to doc.go 2021-01-10 01:16:50 -05:00
go.mod
LICENSE
mux.go
query.go
README.md Update link to documentation 2021-01-10 00:55:39 -05:00
request.go Update comments 2021-01-10 01:07:38 -05:00
response.go Update comments 2021-01-10 01:07:38 -05:00
server.go server: Rename Register to Handle 2021-01-14 22:12:07 -05:00
status.go
text.go
vendor.go

go-gemini

godocs.io

Package gemini implements the Gemini protocol in Go.

It aims to provide an API similar to that of net/http to make it easy to develop Gemini clients and servers.

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.