2020-10-24 21:15:32 +02:00
|
|
|
# go-gemini
|
2020-09-21 21:48:42 +02:00
|
|
|
|
2020-10-24 21:21:35 +02:00
|
|
|
[![GoDoc](https://godoc.org/git.sr.ht/~adnano/go-gemini?status.svg)](https://godoc.org/git.sr.ht/~adnano/go-gemini)
|
2020-09-22 00:28:34 +02:00
|
|
|
|
2020-10-24 21:15:32 +02:00
|
|
|
Package gemini implements the [Gemini protocol](https://gemini.circumlunar.space) in Go.
|
2020-09-21 21:48:42 +02:00
|
|
|
|
2020-10-24 21:21:35 +02:00
|
|
|
It aims to provide an API similar to that of net/http to make it easy to develop Gemini clients and servers.
|
2020-09-21 21:48:42 +02:00
|
|
|
|
2020-10-24 22:58:35 +02:00
|
|
|
## Usage
|
|
|
|
|
|
|
|
import "git.sr.ht/~adnano/go-gemini"
|
|
|
|
|
2020-09-21 23:23:51 +02:00
|
|
|
## Examples
|
2020-09-21 21:48:42 +02:00
|
|
|
|
2020-10-25 02:55:58 +01:00
|
|
|
There are a few examples provided in the examples directory.
|
|
|
|
To run an example:
|
2020-09-21 21:48:42 +02:00
|
|
|
|
2020-10-12 22:39:01 +02:00
|
|
|
go run examples/server.go
|
2020-10-25 02:55:58 +01: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).
|