(b BeforeActivation)
| 35 | } |
| 36 | |
| 37 | func (c *testControllerHandle) BeforeActivation(b BeforeActivation) { |
| 38 | b.Handle("GET", "/histatic", "HiStatic") |
| 39 | b.Handle("GET", "/hiservice", "HiService") |
| 40 | b.Handle("GET", "/hiservice/{ps:string}", "HiServiceBy") |
| 41 | b.Handle("GET", "/hiparam/{ps:string}", "HiParamBy") |
| 42 | b.Handle("GET", "/hiparamempyinput/{ps:string}", "HiParamEmptyInputBy") |
| 43 | b.HandleMany("GET", "/custom/{ps:string} /custom2/{ps:string}", "CustomWithParameter") |
| 44 | b.HandleMany("GET", "/custom3/{ps:string}/{pssecond:string}", "CustomWithParameters") |
| 45 | } |
| 46 | |
| 47 | // test `GetRoute` for custom routes. |
| 48 | func (c *testControllerHandle) AfterActivation(a AfterActivation) { |
nothing calls this directly
no test coverage detected