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