# Packages
No description provided by the author
# README
hyper
A toy web framework written in Go inspired by gin-gonic/gin
Installing
go get github.com/VarthanV/hyper
Getting Started
package main
import hyper "github.com/VarthanV/hyper/core"
func main() {
h := hyper.New()
h.GET("/ping", func(w *hyper.ResponseWriter, request *hyper.Request) {
w.WriteString(200, "PONG")
})
h.ListenAndServe("localhost", "6060", `
_ ___ ______ _____ ____
| | | \ \ / | _ \| ____| _ \
| |_| |\ V /| |_) | _| | |_) |
| _ | | | | __/| |___| _ <
|_| |_| |_| |_| |_____|_| \_\
`)
}