1
0
Fork 0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-05-05 03:36:22 +02:00
Go implementation of the Gemini protocol
Go to file
Adnan Maolood c3418fdfed Add missing import 2021-02-24 14:28:47 -05:00
certificate certificate.Store: Mention GetCertificate usage 2021-02-23 09:10:22 -05:00
examples examples/server: Cancel context 2021-02-24 10:27:28 -05:00
tofu tofu: Update documentation 2021-02-23 09:21:21 -05:00
.build.yml Add build manifest 2021-02-16 00:05:10 -05:00
LICENSE Rename repository to go-gemini 2020-10-24 15:15:32 -04:00
README.md Add build status badge to README.md 2021-02-16 00:07:01 -05:00
client.go client: Fix copying of request 2021-02-24 09:48:23 -05:00
doc.go Update documentation 2021-02-23 17:52:47 -05:00
fs.go Move mimetype registration to gemini.go 2021-02-24 14:27:49 -05:00
gemini.go Add missing import 2021-02-24 14:28:47 -05:00
go.mod fs: Remove build constraint 2021-02-24 11:01:02 -05:00
go.sum client: Support IDNs 2021-02-09 15:59:47 -05:00
handler.go ResponseWriter: Remove unexported method 2021-02-24 10:01:46 -05:00
io.go Move I/O utilities to io.go 2021-02-23 20:49:55 -05:00
mux.go Make ResponseWriter an interface 2021-02-24 00:13:46 -05:00
mux_test.go Make ResponseWriter an interface 2021-02-24 00:13:46 -05:00
query.go Update documentation 2021-02-23 18:45:58 -05:00
request.go Move ResponseWriter Conn and TLS methods to Request 2021-02-24 08:24:49 -05:00
request_test.go request: Allow User in URLs 2021-02-16 00:55:56 -05:00
response.go Add NewResponse function 2021-02-24 10:48:17 -05:00
response_test.go Replace uses of ioutil with io 2021-02-24 11:11:10 -05:00
server.go server: Fix comment 2021-02-24 08:38:08 -05:00
status.go Make Status a type 2021-02-20 16:16:32 -05:00
text.go text: Update documentation 2021-02-23 09:18:34 -05:00
vendor.go Rename repository to go-gemini 2020-10-24 15:15:32 -04:00

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.