()
| 114 | } |
| 115 | |
| 116 | func (h *Handler) initMux() { |
| 117 | h.handle(reqPath, func(req Request) Response { |
| 118 | return h.plugin.AuthZReq(req) |
| 119 | }) |
| 120 | |
| 121 | h.handle(resPath, func(req Request) Response { |
| 122 | return h.plugin.AuthZRes(req) |
| 123 | }) |
| 124 | } |
| 125 | |
| 126 | type actionHandler func(Request) Response |
| 127 |
no test coverage detected