Skip to content

nxshock/gemini

Repository files navigation

Gemini

Golang server library for Gemini protocol based on standart net/http library.

Usage

import "github.com/nxshock/gemini"

gemini.HandleFunc("/", func(w gemini.ResponseWriter, r *gemini.Request) {
	w.Write([]byte("hello"))
})

err := gemini.ListenAndServeTLS("", "localhost.crt", "localhost.key", nil)
if err != nil {
	panic(err)
}

About

Server library for Gemini protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages