remove obsolete kontor.py
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package comic
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"gitlab.com/tpeetz-kontor/kontor-go/cmd/pkg/context/comic/routing"
|
||||
"gitlab.com/tpeetz-kontor/kontor-go/cmd/pkg/infrastructure/app"
|
||||
)
|
||||
|
||||
func BuildComicService(app *app.Application) {
|
||||
// Create our Handler
|
||||
handler := routing.NewHandler(app)
|
||||
|
||||
// Create a sub router for this service
|
||||
router := app.Router.Methods(http.MethodGet).Subrouter()
|
||||
|
||||
// Register our service routes
|
||||
router.HandleFunc("/comics/comic", handler.ComicList).Name("comics:comicList")
|
||||
}
|
||||
Reference in New Issue
Block a user