-
Notifications
You must be signed in to change notification settings - Fork 0
/
routes.go
119 lines (87 loc) · 2.42 KB
/
routes.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
// GENERATED CODE - DO NOT EDIT
// This file provides a way of creating URL's based on all the actions
// found in all the controllers.
package routes
import "github.com/revel/revel"
type tApp struct {}
var App tApp
func (_ tApp) Index(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("App.Index", args).URL
}
func (_ tApp) GetStatus(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("App.GetStatus", args).URL
}
type tStatic struct {}
var Static tStatic
func (_ tStatic) Serve(
prefix string,
filepath string,
) string {
args := make(map[string]string)
revel.Unbind(args, "prefix", prefix)
revel.Unbind(args, "filepath", filepath)
return revel.MainRouter.Reverse("Static.Serve", args).URL
}
func (_ tStatic) ServeDir(
prefix string,
filepath string,
) string {
args := make(map[string]string)
revel.Unbind(args, "prefix", prefix)
revel.Unbind(args, "filepath", filepath)
return revel.MainRouter.Reverse("Static.ServeDir", args).URL
}
func (_ tStatic) ServeModule(
moduleName string,
prefix string,
filepath string,
) string {
args := make(map[string]string)
revel.Unbind(args, "moduleName", moduleName)
revel.Unbind(args, "prefix", prefix)
revel.Unbind(args, "filepath", filepath)
return revel.MainRouter.Reverse("Static.ServeModule", args).URL
}
func (_ tStatic) ServeModuleDir(
moduleName string,
prefix string,
filepath string,
) string {
args := make(map[string]string)
revel.Unbind(args, "moduleName", moduleName)
revel.Unbind(args, "prefix", prefix)
revel.Unbind(args, "filepath", filepath)
return revel.MainRouter.Reverse("Static.ServeModuleDir", args).URL
}
type tTestRunner struct {}
var TestRunner tTestRunner
func (_ tTestRunner) Index(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("TestRunner.Index", args).URL
}
func (_ tTestRunner) Suite(
suite string,
) string {
args := make(map[string]string)
revel.Unbind(args, "suite", suite)
return revel.MainRouter.Reverse("TestRunner.Suite", args).URL
}
func (_ tTestRunner) Run(
suite string,
test string,
) string {
args := make(map[string]string)
revel.Unbind(args, "suite", suite)
revel.Unbind(args, "test", test)
return revel.MainRouter.Reverse("TestRunner.Run", args).URL
}
func (_ tTestRunner) List(
) string {
args := make(map[string]string)
return revel.MainRouter.Reverse("TestRunner.List", args).URL
}