mirror of
				https://gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud
				synced 2025-11-04 05:11:46 +00:00 
			
		
		
		
	added golint dependecy to travis-ci.yml
This commit is contained in:
		@@ -4,6 +4,7 @@ stages:
 | 
				
			|||||||
- test
 | 
					- test
 | 
				
			||||||
 | 
					
 | 
				
			||||||
before_script:
 | 
					before_script:
 | 
				
			||||||
 | 
					- go get -u golang.org/x/lint/golint
 | 
				
			||||||
- go get -u github.com/kardianos/govendor
 | 
					- go get -u github.com/kardianos/govendor
 | 
				
			||||||
- mkdir -p /go/src/github.com/partitio
 | 
					- mkdir -p /go/src/github.com/partitio
 | 
				
			||||||
- cp -r $CI_PROJECT_DIR /go/src/github.com/partitio/gonextcloud
 | 
					- cp -r $CI_PROJECT_DIR /go/src/github.com/partitio/gonextcloud
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,6 +5,7 @@ import (
 | 
				
			|||||||
	"net/http"
 | 
						"net/http"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					//Monitoring return nextcloud monitoring statistics
 | 
				
			||||||
func (c *Client) Monitoring() (*types.Monitoring, error) {
 | 
					func (c *Client) Monitoring() (*types.Monitoring, error) {
 | 
				
			||||||
	res, err := c.baseRequest(routes.monitor, "", "", nil, http.MethodGet)
 | 
						res, err := c.baseRequest(routes.monitor, "", "", nil, http.MethodGet)
 | 
				
			||||||
	if err != nil {
 | 
						if err != nil {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user