21 lines
605 B
Go
21 lines
605 B
Go
package domain
|
|
|
|
// Sub-routes
|
|
const VERSION = "/v1"
|
|
const WEB = "/web"
|
|
const API = "/api"
|
|
|
|
// Web prefixed routes
|
|
const WEB_LOGIN = VERSION + WEB + "/login"
|
|
const WEB_INDEX = VERSION + WEB
|
|
const WEB_HOME = VERSION + WEB + "/home"
|
|
const WEB_FAVORITES = VERSION + WEB + "/favorites"
|
|
const WEB_CREATE = VERSION + WEB + "/create"
|
|
const WEB_PROFIlE = VERSION + WEB + "/profile"
|
|
const WEB_LIST = VERSION + WEB + "/list"
|
|
|
|
// API prefixed routes
|
|
const API_AUTH_LOGIN = VERSION + API + "/auth/login"
|
|
const API_AUTH_CALLBACK = VERSION + API + "/auth/callback"
|
|
const API_AUTH_LOGOUT = VERSION + API + "/auth/logout"
|