1525 return c.RenderOK()
1526}
1527
1528func (s *Server) Workers(c *stdapi.Context) error {1529 return stdapi.Errorf(404, "not available via api")
1530}
1503 return c.RenderJSON(v)
1504}
1505
1506func (s *Server) SystemUninstall(c *stdapi.Context) error {1507 return stdapi.Errorf(404, "not available via api")
1508}
1509
1252 return c.RenderJSON(v)
1253}
1254
1255func (s *Server) SystemInstall(c *stdapi.Context) error {1256 return stdapi.Errorf(404, "not available via api")
1257}
1258
1231 return c.RenderOK()
1232}
1233
1234func (s *Server) Start(c *stdapi.Context) error {1235 return stdapi.Errorf(404, "not available via api")
1236}
1237
557 return c.RenderOK()
558}
559
560func (s *Server) Initialize(c *stdapi.Context) error { 561 return stdapi.Errorf(404, "not available via api")
562}
563
Methods with unused receivers can be a symptom of unfinished refactoring or a bug. To keep the same method signature, omit the receiver name or '_' as it is unused.
func (f *Unix) Name() string {
return "unix"
}
func (_ *Unix) Name() string {
return "unix"
}
func (*Unix) Name() string {
return "unix"
}