Fork of go-gemini
Go to file
Adnan Maolood 8938038797 Make Status a type
Using a type is better than using an integer.
2021-02-20 16:16:32 -05:00
certificate certificate: Implement GetCertificate callback 2021-02-19 18:42:53 -05:00
examples Make Status a type 2021-02-20 16:16:32 -05:00
tofu
.build.yml Add build manifest 2021-02-16 00:05:10 -05:00
client.go client: Make Get and Do accept a Context 2021-02-20 15:34:21 -05:00
doc.go doc: Update package documentation 2021-02-18 00:38:03 -05:00
fs.go handler: Make ServeGemini accept a Context 2021-02-20 15:49:14 -05:00
gemini.go Implement TimeoutHandler 2021-02-20 00:49:21 -05:00
go.mod Require Go 1.16 2021-02-16 18:50:42 -05:00
go.sum
handler.go Make Status a type 2021-02-20 16:16:32 -05:00
LICENSE
mux_test.go handler: Make ServeGemini accept a Context 2021-02-20 15:49:14 -05:00
mux.go handler: Make ServeGemini accept a Context 2021-02-20 15:49:14 -05:00
punycode.go
query.go
README.md Add build status badge to README.md 2021-02-16 00:07:01 -05:00
request_test.go request: Allow User in URLs 2021-02-16 00:55:56 -05:00
request.go client: Make Get and Do accept a Context 2021-02-20 15:34:21 -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 handler: Make ServeGemini accept a Context 2021-02-20 15:49:14 -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.