func (self *APIServer) stats(w rest.ResponseWriter, req *rest.Request) { stats := self.app.Stats w.WriteJson(stats) }
func (self *APIServer) status(w rest.ResponseWriter, req *rest.Request) { w.WriteJson(self.handler.GetStatus()) }