SiteController
struct SiteController : SiteControllerUtils
Route gorup that only manages one route: the root route “/”.
-
Declaration
Swift
func registerRoutes(_ app: Application) throws
-
rootPageHandler(_:
Asynchronous) Declaration
Swift
func rootPageHandler(_ req: Request) async throws -> View
-
aboutTwitarrViewHandler(_:
Asynchronous) GET /about
See moreDeclaration
Swift
func aboutTwitarrViewHandler(_ req: Request) async throws -> View
-
timePageHandler(_:
Asynchronous) Declaration
Swift
func timePageHandler(_ req: Request) async throws -> View
-
mapPageHandler(_:
Asynchronous) Declaration
Swift
func mapPageHandler(_ req: Request) async throws -> View