Skip to content

demouth/hankyo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hankyo

Hankyo is a simple echo-like web framework written in Golang.

package main

import (
	"github.com/demouth/hankyo"
)

func main() {
	h := hankyo.New()
	h.Get("/ping", func(c *hankyo.Context) {
		c.Response.Write([]byte("pong"))
	})
	h.Get("/greeting", func(c *hankyo.Context) {
		c.Response.Write([]byte("hello"))
	})
	h.Run(":8080")
}

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages