1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-11-23 16:52:06 +01:00
Go implementation of the Gemini protocol
Go to file
2020-10-28 13:41:24 -04:00
examples Refactor client certificates 2020-10-28 13:41:24 -04:00
.gitignore
cert.go Refactor client certificates 2020-10-28 13:41:24 -04:00
client.go Refactor client certificates 2020-10-28 13:41:24 -04:00
doc.go Add (*Client).Get function 2020-10-27 19:22:34 -04:00
fs.go Add ServeFile function 2020-10-27 13:32:48 -04:00
gemini.go Refactor client certificates 2020-10-28 13:41:24 -04:00
go.mod Rename repository to go-gemini 2020-10-24 15:15:32 -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
request.go Reject schemes other than gemini:// in NewRequest 2020-10-27 21:18:05 -04:00
response.go Store a reference to the Request in Response 2020-10-28 00:21:27 -04:00
server.go Add Client.GetInput field 2020-10-27 23:35:22 -04:00
status.go Refactor client certificates 2020-10-28 13:41:24 -04:00
text.go Remove (Text).HTML function 2020-10-26 12:49:16 -04:00
tofu.go Rename repository to go-gemini 2020-10-24 15:15:32 -04: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.