Skip to content

The simple HTTP middleware chainer for Golang

License

Notifications You must be signed in to change notification settings

mokmok-dev/middlechain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

middlechain

CI Go Reference

The simple HTTP middleware chainer for Golang.

How to use

mux := http.NewServeMux()

handler := middlechain.Chain(mux,
  someMiddleware,
)

// handle http request...

http.ListenAndServe(":8080", handler)