tsviewer/features/server/routes.go

14 lines
176 B
Go
Raw Normal View History

2019-01-16 21:01:48 +00:00
package server
import (
"github.com/go-chi/chi"
)
func APIRoutes(s Service) *chi.Mux {
router := chi.NewRouter()
router.Get("/info", InfoAPIHandler(s))
return router
}