1 // GENERATED CODE - DO NOT EDIT
2 // This file is the run file for Revel.
3 // It registers all the controllers and provides details for the Revel server engine to
4 // properly inject parameters directly into the action endpoints.
9 "github.com/revel/revel"
11 controllers "apiserver/app/controllers"
12 tests "apiserver/tests"
13 controllers0 "github.com/revel/modules/static/app/controllers"
14 _ "github.com/revel/modules/testrunner/app"
15 controllers1 "github.com/revel/modules/testrunner/app/controllers"
16 "github.com/revel/revel/testing"
20 // So compiler won't complain if the generated code doesn't reference reflect package...
24 // Register and run the application
30 // Register all the controllers
32 revel.AppLog.Info("Running revel server")
34 revel.RegisterController((*controllers.App)(nil),
38 Args: []*revel.MethodArg{
40 RenderArgNames: map[int][]string{
47 Args: []*revel.MethodArg{
49 RenderArgNames: map[int][]string{
55 revel.RegisterController((*controllers0.Static)(nil),
59 Args: []*revel.MethodArg{
60 &revel.MethodArg{Name: "prefix", Type: reflect.TypeOf((*string)(nil)) },
61 &revel.MethodArg{Name: "filepath", Type: reflect.TypeOf((*string)(nil)) },
63 RenderArgNames: map[int][]string{
68 Args: []*revel.MethodArg{
69 &revel.MethodArg{Name: "prefix", Type: reflect.TypeOf((*string)(nil)) },
70 &revel.MethodArg{Name: "filepath", Type: reflect.TypeOf((*string)(nil)) },
72 RenderArgNames: map[int][]string{
77 Args: []*revel.MethodArg{
78 &revel.MethodArg{Name: "moduleName", Type: reflect.TypeOf((*string)(nil)) },
79 &revel.MethodArg{Name: "prefix", Type: reflect.TypeOf((*string)(nil)) },
80 &revel.MethodArg{Name: "filepath", Type: reflect.TypeOf((*string)(nil)) },
82 RenderArgNames: map[int][]string{
86 Name: "ServeModuleDir",
87 Args: []*revel.MethodArg{
88 &revel.MethodArg{Name: "moduleName", Type: reflect.TypeOf((*string)(nil)) },
89 &revel.MethodArg{Name: "prefix", Type: reflect.TypeOf((*string)(nil)) },
90 &revel.MethodArg{Name: "filepath", Type: reflect.TypeOf((*string)(nil)) },
92 RenderArgNames: map[int][]string{
98 revel.RegisterController((*controllers1.TestRunner)(nil),
102 Args: []*revel.MethodArg{
104 RenderArgNames: map[int][]string{
112 Args: []*revel.MethodArg{
113 &revel.MethodArg{Name: "suite", Type: reflect.TypeOf((*string)(nil)) },
115 RenderArgNames: map[int][]string{
120 Args: []*revel.MethodArg{
121 &revel.MethodArg{Name: "suite", Type: reflect.TypeOf((*string)(nil)) },
122 &revel.MethodArg{Name: "test", Type: reflect.TypeOf((*string)(nil)) },
124 RenderArgNames: map[int][]string{
131 Args: []*revel.MethodArg{
133 RenderArgNames: map[int][]string{
139 revel.DefaultValidationKeys = map[string]map[int]string{
141 testing.TestSuites = []interface{}{
142 (*tests.AppTest)(nil),