-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrouter.go
23 lines (21 loc) · 925 Bytes
/
router.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package authless
const (
routePathWildcard = "template/*"
routeAuthGroup = "/auth"
routeLogin = "/login"
routeLogout = "/logout"
routeRegister = "/register"
routeActivate = "/activate"
routeForgetPassword = "/forget-password"
routeChangePassword = "/change-password"
routeRegisterSuccess = "/register/success"
routeActivateResult = "/activate/result"
routeForgetPasswordResult = "/forget-password/result"
routeChangePasswordResult = "/change-password/result"
routeAuthLogin = routeAuthGroup + routeLogin
routeAuthLogout = routeAuthLogin + routeLogout
routeAuthRegister = routeAuthLogin + routeRegister
routeAuthActivate = routeAuthLogin + routeActivate
routeAuthForgetPassword = routeAuthLogin + routeForgetPassword
routeAuthChangePassword = routeAuthLogin + routeChangePassword
)