mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
13 lines
321 B
Go
13 lines
321 B
Go
package status
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
httperror "github.com/portainer/portainer/http/error"
|
|
"github.com/portainer/portainer/http/response"
|
|
)
|
|
|
|
// GET request on /api/status
|
|
func (handler *Handler) statusInspect(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
|
|
return response.JSON(w, handler.Status)
|
|
}
|