Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
/ middlechain Public archive

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)