Adnan Maolood 9fe837ffac tofu: Refactor known hosts
This commit introduces the KnownHosts struct, whose purpose is simply to
store known hosts entries. The HostWriter struct is now in charge of
appending hosts to files, and the two are not dependent on each other.
Users are now responsible for opening the known hosts file and closing
it when they are finished with it.
2021-01-14 16:26:43 -05:00
2021-01-14 13:48:57 -05:00
2021-01-14 16:26:43 -05:00
2020-09-27 13:50:48 -04:00
2021-01-10 01:21:56 -05:00
2021-01-10 00:50:35 -05:00
2021-01-10 01:16:50 -05:00
2020-10-24 15:15:32 -04:00
2020-10-24 15:15:32 -04:00
2021-01-09 23:53:07 -05:00
2020-12-18 00:26:47 -05:00
2021-01-10 00:55:39 -05:00
2021-01-10 01:07:38 -05:00
2021-01-10 01:07:38 -05:00
2021-01-10 00:10:57 -05:00
2021-01-09 23:53:07 -05:00
2020-10-24 15:15:32 -04:00

go-gemini

godocs.io

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.

Description
Fork of go-gemini
Readme 600 KiB
Languages
Go 100%