This repository has been archived on 2025-09-01. You can view files and clone it, but cannot push or open issues or pull requests.

20 lines
274 B
Go

package app
import (
"git.markbailey.dev/cerbervs/ptpp/app/routing"
"git.markbailey.dev/cerbervs/ptpp/app/server"
)
type IApp interface {
Serve()
}
type App struct {
Router routing.IRouter
Server server.IServer
}
func (a App) Serve() {
a.Server.ListenAndServe()
}