This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
package http
|
|
|
|
import (
|
|
goji "goji.io"
|
|
"goji.io/pat"
|
|
)
|
|
|
|
func BindAPI(router *goji.Mux) {
|
|
router.HandleFunc(pat.Get("/api/status"), statusHandler)
|
|
}
|