1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
461 B
Go

2 years ago
package routes
import "git.phc.dm.unipi.it/phc/cluster-dashboard/backend/database"
// Router is the main service that defines all routes, this only depends on the Database service
type Service struct {
2 years ago
Database database.Database
}
type htmlEntrypoint struct {
Route string `json:"route"`
Filename string `json:"filename"`
}
var HtmlEntrypoints = []htmlEntrypoint{
{"/", "./index.html"},
{"/dashboard", "./index.html"},
{"/jobs", "./index.html"},
}