mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 14:29:40 +02:00
14 lines
321 B
Go
14 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)
|
||
|
}
|