2020-10-24 19:15:32 +00:00
|
|
|
# go-gemini
|
2020-09-21 19:48:42 +00:00
|
|
|
|
2021-01-10 05:55:39 +00:00
|
|
|
[![godocs.io](https://godocs.io/git.sr.ht/~adnano/go-gemini?status.svg)](https://godocs.io/git.sr.ht/~adnano/go-gemini)
|
2020-09-21 22:28:34 +00:00
|
|
|
|
2020-10-24 19:15:32 +00:00
|
|
|
Package gemini implements the [Gemini protocol](https://gemini.circumlunar.space) in Go.
|
2020-09-21 19:48:42 +00:00
|
|
|
|
2021-02-08 17:53:37 +00:00
|
|
|
It provides an API similar to that of net/http to make it easy to develop Gemini clients and servers.
|
2020-09-21 19:48:42 +00:00
|
|
|
|
2020-10-24 20:58:35 +00:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
import "git.sr.ht/~adnano/go-gemini"
|
|
|
|
|
2020-09-21 21:23:51 +00:00
|
|
|
## Examples
|
2020-09-21 19:48:42 +00:00
|
|
|
|
2020-10-25 01:55:58 +00:00
|
|
|
There are a few examples provided in the examples directory.
|
|
|
|
To run an example:
|
2020-09-21 19:48:42 +00:00
|
|
|
|
2020-10-12 20:39:01 +00:00
|
|
|
go run examples/server.go
|
2020-10-25 01:55:58 +00:00
|
|
|
|
|
|
|
## Contributing
|
|
|
|
|
|
|
|
Send patches and questions to [~adnano/go-gemini-devel](https://lists.sr.ht/~adnano/go-gemini-devel).
|
|
|
|
|
|
|
|
Subscribe to release announcements on [~adnano/go-gemini-announce](https://lists.sr.ht/~adnano/go-gemini-announce).
|