项目作者: nhomble

项目描述 :
gemini implementations
高级语言: Go
项目地址: git://github.com/nhomble/vela.git
创建时间: 2020-10-27T21:02:35Z
项目社区:https://github.com/nhomble/vela

开源协议:

下载


vela

Go

a gemini server

Usage

  1. package main
  2. import (
  3. "github.com/nhomble/gemini-server/server"
  4. "os"
  5. )
  6. func main(){
  7. root, _ := os.Getwd()
  8. server.ListenAndServe("", "path/to/public.pem", "path/to/private.pem", server.FileServingRequestHandler{Root: root})
  9. }