(h func(c *Context, chain *restful.FilterChain))
| 94 | } |
| 95 | |
| 96 | func WrapRestFilterFunction(h func(c *Context, chain *restful.FilterChain)) restful.FilterFunction { |
| 97 | return func(request *restful.Request, response *restful.Response, chain *restful.FilterChain) { |
| 98 | c := BuildContext(request, response) |
| 99 | h(c, chain) |
| 100 | } |
| 101 | } |
nothing calls this directly
no test coverage detected