(c *stdapi.Context)
| 852 | } |
| 853 | |
| 854 | func (s *Server) ProcessStop(c *stdapi.Context) error { |
| 855 | if err := s.hook("ProcessStopValidate", c); err != nil { |
| 856 | return err |
| 857 | } |
| 858 | |
| 859 | app := c.Var("app") |
| 860 | pid := c.Var("pid") |
| 861 | |
| 862 | err := s.provider(c).WithContext(c.Context()).ProcessStop(app, pid) |
| 863 | if err != nil { |
| 864 | return err |
| 865 | } |
| 866 | |
| 867 | return c.RenderOK() |
| 868 | } |
| 869 | |
| 870 | func (s *Server) Proxy(c *stdapi.Context) error { |
| 871 | if err := s.hook("ProxyValidate", c); err != nil { |
nothing calls this directly
no test coverage detected