mirror of
https://gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud
synced 2024-11-22 04:46:24 +00:00
added golint dependecy to travis-ci.yml
This commit is contained in:
parent
4a40cce344
commit
8e7100b367
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user