Skip to content

thisissoon/yam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YAM

Build Status Coverage Docs Licsense

YAM (Yet Another Mux) is another Golang HTTP multiplexer designed to be simple, flexible and configurable.

package main

import (
	"net/http"

	"github.com/thisissoon/yam"
)

func main() {
	mux := yam.New()
	mux.Route("/").Get(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		w.Write([]byte("Hello World!"))
	}))

	http.ListenAndServe(":5000", mux)
}

Install

go get github.com/thisissoon/yam

Documentaion

Full package documentation can be found at https://godoc.org/github.com/thisissoon/yam.

About

YAM (Yet Another Mux) is another Golang HTTP multiplexer designed to be simple and flexible.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages