示例#1
0
func init() {
	ctx.Resource("/group/{id:[0-9]+}", &Resource{}, false)
}
示例#2
0
func init() {
	ctx.Resource("/mediatype", &Collection{}, false)
}
示例#3
0
func init() {
	ctx.Resource("/account/user/signin", &SignIn{}, true)
}
示例#4
0
文件: signup.go 项目: thiennt/go-spa
func init() {
	ctx.Resource("/account/user/signup", &SignUp{}, true)
}
示例#5
0
func init() {
	ctx.Resource("/media/{id:[0-9]+}", &Resource{}, false)
}
示例#6
0
func init() {
	ctx.Resource("/account/reset-password", &Begin{}, true)
}
示例#7
0
func init() {
	ctx.Resource("/account/reset-password/complete", &Complete{}, true)
}
示例#8
0
func init() {
	ctx.Resource("/location/{id:[0-9]+}", &Resource{}, false)
}
示例#9
0
func init() {
	ctx.Resource("/location", &Collection{}, false)
}
示例#10
0
func init() {
	ctx.Resource("/media/upload", &Resource{}, false)
}
示例#11
0
func init() {
	ctx.Resource("/account/token/renew", &Renew{}, false)
}
示例#12
0
func init() {
	ctx.Resource("/account/reset-password/validate-key", &ValidateKey{}, true)
}
示例#13
0
func init() {
	ctx.Resource("/account/user/profile", &Profile{}, false)
}
示例#14
0
func init() {
	ctx.Resource("/group", &Collection{}, false)
}