GitXplorerGitXplorer
i

go-gemini

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
0ceec227054da43d932d6065e143d1cef95c435a

readme: Update Gemini specification version

nnanoslayer committed 3 years ago
Unverified
3d2110d90ffb49a738b9024dd06296d056204af2

mux: Tweak documentation

nnanoslayer committed 4 years ago
Unverified
b5c47a5ef0569fc6462b9715ccd3d770ff566c09

mux: Add more tests

nnanoslayer committed 4 years ago
Unverified
fb0d4d24bd27aee5579b8f7ec417775c4b7e74d7

mux: Remove support for handling schemes

nnanoslayer committed 4 years ago
Unverified
1170e007d464f5aa091264c0d22c05921bd39e77

fs: Avoid equality check if lengths don't match

nnanoslayer committed 4 years ago
Unverified
c85759d777c95691b635102880ac8243f0920b0a

fs: Improve redirect behavior

nnanoslayer committed 4 years ago

README

The README file for this repository.

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 facilitate the development of Gemini clients and servers.

Compatible with version v0.16.0 of the Gemini specification.

Usage

import "git.sr.ht/~adnano/go-gemini"

Note that some filesystem-related functionality is only available on Go 1.16 or later as it relies on the io/fs package.

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.

License

go-gemini is licensed under the terms of the MIT license (see LICENSE). Portions of this library were adapted from Go and are governed by a BSD-style license (see LICENSE-GO). Those files are marked accordingly.