2020-09-28 16:28:52 -06:00
|
|
|
# gmi
|
2020-09-21 13:48:42 -06:00
|
|
|
|
2020-09-28 16:22:18 -06:00
|
|
|
[![GoDoc](https://godoc.org/git.sr.ht/~adnano/gmi?status.svg)](https://godoc.org/git.sr.ht/~adnano/gmi)
|
2020-09-21 16:28:34 -06:00
|
|
|
|
2020-10-12 14:34:52 -06:00
|
|
|
Package `gmi` implements the [Gemini protocol](https://gemini.circumlunar.space) in Go.
|
2020-09-21 13:48:42 -06:00
|
|
|
|
2020-10-12 14:34:52 -06: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 13:48:42 -06:00
|
|
|
|
2020-09-21 15:23:51 -06:00
|
|
|
## Examples
|
2020-09-21 13:48:42 -06:00
|
|
|
|
2020-09-27 15:44:49 -06:00
|
|
|
There are a few examples provided in the `examples` directory.
|
2020-09-21 15:23:51 -06:00
|
|
|
To run the examples:
|
2020-09-21 13:48:42 -06:00
|
|
|
|
2020-10-12 14:39:01 -06:00
|
|
|
go run examples/server.go
|