Skip to content

secondarykey/router

Repository files navigation

router

This router is something to create the web simply.

Router

    r := router.New(router.Template,nil)
    r.Add("/pattern",handler,http.MethodGet)
    http.Handle("/",r)

Parameter

error handling

LoginHandler

Pattern

r.Add("/url/{arg}",handler)
p.Get("arg")

Customize

ErrorFunc

TemplateFunc

JSONFunc

About

router is something to create the web simply.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages