mirror of
https://github.com/foomo/contentserver.git
synced 2025-10-16 12:25:44 +00:00
18 lines
414 B
Go
18 lines
414 B
Go
package handler
|
|
|
|
// Route type
|
|
type Route string
|
|
|
|
const (
|
|
// RouteGetURIs get uris, many at once, to keep it fast
|
|
RouteGetURIs Route = "getURIs"
|
|
// RouteGetContent get (site) content
|
|
RouteGetContent Route = "getContent"
|
|
// RouteGetNodes get nodes
|
|
RouteGetNodes Route = "getNodes"
|
|
// RouteUpdate update repo
|
|
RouteUpdate Route = "update"
|
|
// RouteGetRepo get the whole repo
|
|
RouteGetRepo Route = "getRepo"
|
|
)
|