mini http framework in golang
httpware is a mini non-invasive http framework written in go.
- easy and safe. httpware uses same interface as offical http interface, you can always use httpware instead of offical http package or roll back with no any cost
- strong and high degree of freedom. httpware supports custom router and additional process named as midware.
server := httpware.NewServer(8083)
router := http.NewServeMux()
router.HandleFunc("/service/list", handlefunc)
server.SetRouter(router)
server.Run()
- logger interface
- more midware implements
- a router more easy to use
- a context implement with higher performance