This commit is contained in:
life
2014-05-07 16:44:44 +08:00
parent 84c15377ff
commit 7a1a0921f5
8 changed files with 431 additions and 653 deletions

View File

@ -75,82 +75,241 @@ func (_ tStatic) ServeModule(
}
type tFile struct {}
var File tFile
type tAuth struct {}
var Auth tAuth
func (_ tFile) UploadImage(
renderHtml string,
func (_ tAuth) Login(
email string,
) string {
args := make(map[string]string)
revel.Unbind(args, "renderHtml", renderHtml)
return revel.MainRouter.Reverse("File.UploadImage", args).Url
revel.Unbind(args, "email", email)
return revel.MainRouter.Reverse("Auth.Login", args).Url
}
func (_ tFile) UploadBlogLogo(
func (_ tAuth) DoLogin(
email string,
pwd string,
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("File.UploadBlogLogo", args).Url
revel.Unbind(args, "email", email)
revel.Unbind(args, "pwd", pwd)
return revel.MainRouter.Reverse("Auth.DoLogin", args).Url
}
func (_ tFile) UploadImageJson(
renderHtml string,
func (_ tAuth) Logout(
) string {
args := make(map[string]string)
revel.Unbind(args, "renderHtml", renderHtml)
return revel.MainRouter.Reverse("File.UploadImageJson", args).Url
return revel.MainRouter.Reverse("Auth.Logout", args).Url
}
type tNotebook struct {}
var Notebook tNotebook
func (_ tNotebook) Index(
notebook interface{},
i int,
name string,
func (_ tAuth) Demo(
) string {
args := make(map[string]string)
revel.Unbind(args, "notebook", notebook)
revel.Unbind(args, "i", i)
revel.Unbind(args, "name", name)
return revel.MainRouter.Reverse("Notebook.Index", args).Url
return revel.MainRouter.Reverse("Auth.Demo", args).Url
}
func (_ tNotebook) DeleteNotebook(
func (_ tAuth) Register(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Auth.Register", args).Url
}
func (_ tAuth) DoRegister(
email string,
pwd string,
) string {
args := make(map[string]string)
revel.Unbind(args, "email", email)
revel.Unbind(args, "pwd", pwd)
return revel.MainRouter.Reverse("Auth.DoRegister", args).Url
}
func (_ tAuth) FindPassword(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Auth.FindPassword", args).Url
}
func (_ tAuth) DoFindPassword(
email string,
) string {
args := make(map[string]string)
revel.Unbind(args, "email", email)
return revel.MainRouter.Reverse("Auth.DoFindPassword", args).Url
}
func (_ tAuth) FindPassword2(
token string,
) string {
args := make(map[string]string)
revel.Unbind(args, "token", token)
return revel.MainRouter.Reverse("Auth.FindPassword2", args).Url
}
func (_ tAuth) FindPasswordUpdate(
token string,
pwd string,
) string {
args := make(map[string]string)
revel.Unbind(args, "token", token)
revel.Unbind(args, "pwd", pwd)
return revel.MainRouter.Reverse("Auth.FindPasswordUpdate", args).Url
}
type tBlog struct {}
var Blog tBlog
func (_ tBlog) SetNote2Blog(
noteId string,
isBlog bool,
isTop bool,
) string {
args := make(map[string]string)
revel.Unbind(args, "noteId", noteId)
revel.Unbind(args, "isBlog", isBlog)
revel.Unbind(args, "isTop", isTop)
return revel.MainRouter.Reverse("Blog.SetNote2Blog", args).Url
}
func (_ tBlog) SetNotebook2Blog(
notebookId string,
isBlog bool,
) string {
args := make(map[string]string)
revel.Unbind(args, "notebookId", notebookId)
return revel.MainRouter.Reverse("Notebook.DeleteNotebook", args).Url
revel.Unbind(args, "isBlog", isBlog)
return revel.MainRouter.Reverse("Blog.SetNotebook2Blog", args).Url
}
func (_ tNotebook) AddNotebook(
func (_ tBlog) Index(
userId string,
notebookId string,
title string,
) string {
args := make(map[string]string)
revel.Unbind(args, "userId", userId)
revel.Unbind(args, "notebookId", notebookId)
revel.Unbind(args, "title", title)
return revel.MainRouter.Reverse("Notebook.AddNotebook", args).Url
return revel.MainRouter.Reverse("Blog.Index", args).Url
}
func (_ tNotebook) UpdateNotebookTitle(
notebookId string,
title string,
func (_ tBlog) View(
noteId string,
) string {
args := make(map[string]string)
revel.Unbind(args, "notebookId", notebookId)
revel.Unbind(args, "title", title)
return revel.MainRouter.Reverse("Notebook.UpdateNotebookTitle", args).Url
revel.Unbind(args, "noteId", noteId)
return revel.MainRouter.Reverse("Blog.View", args).Url
}
func (_ tBlog) SearchBlog(
userId string,
key string,
) string {
args := make(map[string]string)
revel.Unbind(args, "userId", userId)
revel.Unbind(args, "key", key)
return revel.MainRouter.Reverse("Blog.SearchBlog", args).Url
}
func (_ tBlog) Set(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Blog.Set", args).Url
}
func (_ tBlog) SetUserBlogBase(
userBlog interface{},
) string {
args := make(map[string]string)
revel.Unbind(args, "userBlog", userBlog)
return revel.MainRouter.Reverse("Blog.SetUserBlogBase", args).Url
}
func (_ tBlog) SetUserBlogComment(
userBlog interface{},
) string {
args := make(map[string]string)
revel.Unbind(args, "userBlog", userBlog)
return revel.MainRouter.Reverse("Blog.SetUserBlogComment", args).Url
}
func (_ tBlog) SetUserBlogStyle(
userBlog interface{},
) string {
args := make(map[string]string)
revel.Unbind(args, "userBlog", userBlog)
return revel.MainRouter.Reverse("Blog.SetUserBlogStyle", args).Url
}
func (_ tBlog) AboutMe(
userId string,
) string {
args := make(map[string]string)
revel.Unbind(args, "userId", userId)
return revel.MainRouter.Reverse("Blog.AboutMe", args).Url
}
type tIndex struct {}
var Index tIndex
func (_ tIndex) Index(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Index.Index", args).Url
}
func (_ tIndex) Suggestion(
addr string,
suggestion string,
) string {
args := make(map[string]string)
revel.Unbind(args, "addr", addr)
revel.Unbind(args, "suggestion", suggestion)
return revel.MainRouter.Reverse("Index.Suggestion", args).Url
}
type tMobile struct {}
var Mobile tMobile
func (_ tMobile) Index(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Mobile.Index", args).Url
}
func (_ tMobile) Logout(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Mobile.Logout", args).Url
}
@ -558,241 +717,82 @@ func (_ tUser) UpdateLeftIsMin(
}
type tAuth struct {}
var Auth tAuth
type tFile struct {}
var File tFile
func (_ tAuth) Login(
email string,
func (_ tFile) UploadImage(
renderHtml string,
) string {
args := make(map[string]string)
revel.Unbind(args, "email", email)
return revel.MainRouter.Reverse("Auth.Login", args).Url
revel.Unbind(args, "renderHtml", renderHtml)
return revel.MainRouter.Reverse("File.UploadImage", args).Url
}
func (_ tAuth) DoLogin(
email string,
pwd string,
func (_ tFile) UploadBlogLogo(
) string {
args := make(map[string]string)
revel.Unbind(args, "email", email)
revel.Unbind(args, "pwd", pwd)
return revel.MainRouter.Reverse("Auth.DoLogin", args).Url
return revel.MainRouter.Reverse("File.UploadBlogLogo", args).Url
}
func (_ tAuth) Logout(
func (_ tFile) UploadImageJson(
renderHtml string,
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Auth.Logout", args).Url
revel.Unbind(args, "renderHtml", renderHtml)
return revel.MainRouter.Reverse("File.UploadImageJson", args).Url
}
func (_ tAuth) Demo(
type tNotebook struct {}
var Notebook tNotebook
func (_ tNotebook) Index(
notebook interface{},
i int,
name string,
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Auth.Demo", args).Url
revel.Unbind(args, "notebook", notebook)
revel.Unbind(args, "i", i)
revel.Unbind(args, "name", name)
return revel.MainRouter.Reverse("Notebook.Index", args).Url
}
func (_ tAuth) Register(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Auth.Register", args).Url
}
func (_ tAuth) DoRegister(
email string,
pwd string,
) string {
args := make(map[string]string)
revel.Unbind(args, "email", email)
revel.Unbind(args, "pwd", pwd)
return revel.MainRouter.Reverse("Auth.DoRegister", args).Url
}
func (_ tAuth) FindPassword(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Auth.FindPassword", args).Url
}
func (_ tAuth) DoFindPassword(
email string,
) string {
args := make(map[string]string)
revel.Unbind(args, "email", email)
return revel.MainRouter.Reverse("Auth.DoFindPassword", args).Url
}
func (_ tAuth) FindPassword2(
token string,
) string {
args := make(map[string]string)
revel.Unbind(args, "token", token)
return revel.MainRouter.Reverse("Auth.FindPassword2", args).Url
}
func (_ tAuth) FindPasswordUpdate(
token string,
pwd string,
) string {
args := make(map[string]string)
revel.Unbind(args, "token", token)
revel.Unbind(args, "pwd", pwd)
return revel.MainRouter.Reverse("Auth.FindPasswordUpdate", args).Url
}
type tBlog struct {}
var Blog tBlog
func (_ tBlog) SetNote2Blog(
noteId string,
isBlog bool,
isTop bool,
) string {
args := make(map[string]string)
revel.Unbind(args, "noteId", noteId)
revel.Unbind(args, "isBlog", isBlog)
revel.Unbind(args, "isTop", isTop)
return revel.MainRouter.Reverse("Blog.SetNote2Blog", args).Url
}
func (_ tBlog) SetNotebook2Blog(
notebookId string,
isBlog bool,
) string {
args := make(map[string]string)
revel.Unbind(args, "notebookId", notebookId)
revel.Unbind(args, "isBlog", isBlog)
return revel.MainRouter.Reverse("Blog.SetNotebook2Blog", args).Url
}
func (_ tBlog) Index(
userId string,
func (_ tNotebook) DeleteNotebook(
notebookId string,
) string {
args := make(map[string]string)
revel.Unbind(args, "userId", userId)
revel.Unbind(args, "notebookId", notebookId)
return revel.MainRouter.Reverse("Blog.Index", args).Url
return revel.MainRouter.Reverse("Notebook.DeleteNotebook", args).Url
}
func (_ tBlog) View(
noteId string,
func (_ tNotebook) AddNotebook(
notebookId string,
title string,
) string {
args := make(map[string]string)
revel.Unbind(args, "noteId", noteId)
return revel.MainRouter.Reverse("Blog.View", args).Url
revel.Unbind(args, "notebookId", notebookId)
revel.Unbind(args, "title", title)
return revel.MainRouter.Reverse("Notebook.AddNotebook", args).Url
}
func (_ tBlog) SearchBlog(
userId string,
key string,
func (_ tNotebook) UpdateNotebookTitle(
notebookId string,
title string,
) string {
args := make(map[string]string)
revel.Unbind(args, "userId", userId)
revel.Unbind(args, "key", key)
return revel.MainRouter.Reverse("Blog.SearchBlog", args).Url
}
func (_ tBlog) Set(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Blog.Set", args).Url
}
func (_ tBlog) SetUserBlogBase(
userBlog interface{},
) string {
args := make(map[string]string)
revel.Unbind(args, "userBlog", userBlog)
return revel.MainRouter.Reverse("Blog.SetUserBlogBase", args).Url
}
func (_ tBlog) SetUserBlogComment(
userBlog interface{},
) string {
args := make(map[string]string)
revel.Unbind(args, "userBlog", userBlog)
return revel.MainRouter.Reverse("Blog.SetUserBlogComment", args).Url
}
func (_ tBlog) SetUserBlogStyle(
userBlog interface{},
) string {
args := make(map[string]string)
revel.Unbind(args, "userBlog", userBlog)
return revel.MainRouter.Reverse("Blog.SetUserBlogStyle", args).Url
}
func (_ tBlog) AboutMe(
userId string,
) string {
args := make(map[string]string)
revel.Unbind(args, "userId", userId)
return revel.MainRouter.Reverse("Blog.AboutMe", args).Url
}
type tIndex struct {}
var Index tIndex
func (_ tIndex) Index(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Index.Index", args).Url
}
func (_ tIndex) Suggestion(
addr string,
suggestion string,
) string {
args := make(map[string]string)
revel.Unbind(args, "addr", addr)
revel.Unbind(args, "suggestion", suggestion)
return revel.MainRouter.Reverse("Index.Suggestion", args).Url
}
type tMobile struct {}
var Mobile tMobile
func (_ tMobile) Index(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Mobile.Index", args).Url
}
func (_ tMobile) Logout(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("Mobile.Logout", args).Url
revel.Unbind(args, "notebookId", notebookId)
revel.Unbind(args, "title", title)
return revel.MainRouter.Reverse("Notebook.UpdateNotebookTitle", args).Url
}

View File

@ -102,27 +102,83 @@ func main() {
})
revel.RegisterController((*controllers.File)(nil),
revel.RegisterController((*controllers.Auth)(nil),
[]*revel.MethodType{
&revel.MethodType{
Name: "UploadImage",
Name: "Login",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "renderHtml", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "email", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "UploadBlogLogo",
Name: "DoLogin",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "email", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "pwd", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "Logout",
Args: []*revel.MethodArg{
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "UploadImageJson",
Name: "Demo",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "renderHtml", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "Register",
Args: []*revel.MethodArg{
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "DoRegister",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "email", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "pwd", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "FindPassword",
Args: []*revel.MethodArg{
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "DoFindPassword",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "email", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "FindPassword2",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "token", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "FindPasswordUpdate",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "token", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "pwd", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
@ -130,40 +186,128 @@ func main() {
})
revel.RegisterController((*controllers.Notebook)(nil),
revel.RegisterController((*controllers.Blog)(nil),
[]*revel.MethodType{
&revel.MethodType{
Name: "SetNote2Blog",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "noteId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "isBlog", Type: reflect.TypeOf((*bool)(nil)) },
&revel.MethodArg{Name: "isTop", Type: reflect.TypeOf((*bool)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "SetNotebook2Blog",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "notebookId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "isBlog", Type: reflect.TypeOf((*bool)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "Index",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "userId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "notebookId", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "View",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "noteId", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "SearchBlog",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "userId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "key", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "Set",
Args: []*revel.MethodArg{
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "SetUserBlogBase",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "userBlog", Type: reflect.TypeOf((*info.UserBlogBase)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "SetUserBlogComment",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "userBlog", Type: reflect.TypeOf((*info.UserBlogComment)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "SetUserBlogStyle",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "userBlog", Type: reflect.TypeOf((*info.UserBlogStyle)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "AboutMe",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "userId", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
})
revel.RegisterController((*controllers.Index)(nil),
[]*revel.MethodType{
&revel.MethodType{
Name: "Index",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "notebook", Type: reflect.TypeOf((*info.Notebook)(nil)) },
&revel.MethodArg{Name: "i", Type: reflect.TypeOf((*int)(nil)) },
&revel.MethodArg{Name: "name", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "DeleteNotebook",
Name: "Suggestion",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "addr", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "suggestion", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
})
revel.RegisterController((*controllers.Mobile)(nil),
[]*revel.MethodType{
&revel.MethodType{
Name: "Index",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "notebookId", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "AddNotebook",
Name: "Logout",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "notebookId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "title", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "UpdateNotebookTitle",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "notebookId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "title", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
@ -516,83 +660,27 @@ func main() {
})
revel.RegisterController((*controllers.Auth)(nil),
revel.RegisterController((*controllers.File)(nil),
[]*revel.MethodType{
&revel.MethodType{
Name: "Login",
Name: "UploadImage",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "email", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "renderHtml", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "DoLogin",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "email", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "pwd", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "Logout",
Name: "UploadBlogLogo",
Args: []*revel.MethodArg{
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "Demo",
Name: "UploadImageJson",
Args: []*revel.MethodArg{
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "Register",
Args: []*revel.MethodArg{
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "DoRegister",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "email", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "pwd", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "FindPassword",
Args: []*revel.MethodArg{
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "DoFindPassword",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "email", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "FindPassword2",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "token", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "FindPasswordUpdate",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "token", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "pwd", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "renderHtml", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
@ -600,128 +688,40 @@ func main() {
})
revel.RegisterController((*controllers.Blog)(nil),
revel.RegisterController((*controllers.Notebook)(nil),
[]*revel.MethodType{
&revel.MethodType{
Name: "SetNote2Blog",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "noteId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "isBlog", Type: reflect.TypeOf((*bool)(nil)) },
&revel.MethodArg{Name: "isTop", Type: reflect.TypeOf((*bool)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "SetNotebook2Blog",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "notebookId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "isBlog", Type: reflect.TypeOf((*bool)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "Index",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "userId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "notebook", Type: reflect.TypeOf((*info.Notebook)(nil)) },
&revel.MethodArg{Name: "i", Type: reflect.TypeOf((*int)(nil)) },
&revel.MethodArg{Name: "name", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "DeleteNotebook",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "notebookId", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "View",
Name: "AddNotebook",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "noteId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "notebookId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "title", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "SearchBlog",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "userId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "key", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "Set",
Args: []*revel.MethodArg{
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "SetUserBlogBase",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "userBlog", Type: reflect.TypeOf((*info.UserBlogBase)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "SetUserBlogComment",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "userBlog", Type: reflect.TypeOf((*info.UserBlogComment)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "SetUserBlogStyle",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "userBlog", Type: reflect.TypeOf((*info.UserBlogStyle)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "AboutMe",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "userId", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
})
revel.RegisterController((*controllers.Index)(nil),
[]*revel.MethodType{
&revel.MethodType{
Name: "Index",
Args: []*revel.MethodArg{
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "Suggestion",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "addr", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "suggestion", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},
},
})
revel.RegisterController((*controllers.Mobile)(nil),
[]*revel.MethodType{
&revel.MethodType{
Name: "Index",
Args: []*revel.MethodArg{
},
RenderArgNames: map[int][]string{
},
},
&revel.MethodType{
Name: "Logout",
Name: "UpdateNotebookTitle",
Args: []*revel.MethodArg{
&revel.MethodArg{Name: "notebookId", Type: reflect.TypeOf((*string)(nil)) },
&revel.MethodArg{Name: "title", Type: reflect.TypeOf((*string)(nil)) },
},
RenderArgNames: map[int][]string{
},