Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 717 Bytes

README.MD

File metadata and controls

28 lines (23 loc) · 717 Bytes

Servito

Build Status GoDoc

A small HTTP server in Go. A great start for small projects and prototyping.

Install

$ go get github.com/ghawk1ns/servito

Example

https://github.com/GHawk1ns/Servito/blob/master/example/main.go

Config

You can set these values individually or pass servito a JSON string, file, or path to a json file

{
  "debug": true,
  "address": string,
  "port": string,
  "readTimeout": int,
  "writeTimeout": int,
  "csrfEnable", bool,
  "CSRFKey", string
}