Categorygithub.com/VarthanV/hyper
modulepackage
1.0.1
Repository: https://github.com/varthanv/hyper.git
Documentation: pkg.go.dev

# 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 /| |_) |  _| | |_) |
|  _  | | | |  __/| |___|  _ < 
|_| |_| |_| |_|   |_____|_| \_\
                               
`)
}

# Packages

No description provided by the author

# Functions

No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author