1
0
Fork 0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-06-06 18:46:06 +02:00
Go implementation of the Gemini protocol
Go to file
Adnan Maolood f2a1510375 Move documentation to gemini.go 2020-11-09 12:07:49 -05:00
examples Remove top-level Get and Do functions 2020-11-09 12:04:53 -05:00
.gitignore Implement certificate creation 2020-09-27 13:50:48 -04:00
LICENSE Rename repository to go-gemini 2020-10-24 15:15:32 -04:00
README.md Add contributing instructions to README.md 2020-10-24 21:55:58 -04:00
cert.go Refactor KnownHosts 2020-11-05 15:27:12 -05:00
client.go Remove top-level Get and Do functions 2020-11-09 12:04:53 -05:00
fs.go Remove some unnecessary errors 2020-11-04 23:46:05 -05:00
gemini.go Move documentation to gemini.go 2020-11-09 12:07:49 -05:00
go.mod Rename repository to go-gemini 2020-10-24 15:15:32 -04:00
mux.go Remove Redirect and PermanentRedirect functions 2020-10-31 16:51:10 -04:00
request.go Remove some unnecessary errors 2020-11-04 23:46:05 -05:00
response.go Don't guarantee that (*Response).Body is always non-nil 2020-11-08 18:38:08 -05:00
server.go Fix TOFU 2020-11-05 22:30:13 -05:00
status.go Remove Redirect and PermanentRedirect functions 2020-10-31 16:51:10 -04:00
text.go Add ParseLines function 2020-10-29 09:42:53 -04:00
tofu.go Remove top-level Get and Do functions 2020-11-09 12:04:53 -05:00
vendor.go Rename repository to go-gemini 2020-10-24 15:15:32 -04:00

go-gemini

GoDoc

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.