mirror of https://github.com/portainer/portainer
				
				
				
			
		
			
				
	
	
		
			14 lines
		
	
	
		
			307 B
		
	
	
	
		
			Go
		
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			307 B
		
	
	
	
		
			Go
		
	
	
| package status
 | |
| 
 | |
| import (
 | |
| 	"net/http"
 | |
| 
 | |
| 	httperror "github.com/portainer/libhttp/error"
 | |
| 	"github.com/portainer/libhttp/response"
 | |
| )
 | |
| 
 | |
| // GET request on /api/status
 | |
| func (handler *Handler) statusInspect(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
 | |
| 	return response.JSON(w, handler.Status)
 | |
| }
 |