2018-10-17 09:20:28 +02:00
2018-10-17 09:20:28 +02:00
2018-10-08 18:50:11 +02:00
2018-10-08 18:50:11 +02:00
2018-10-16 15:52:56 +02:00
2018-10-16 18:16:18 +02:00
2018-10-08 18:50:11 +02:00
2018-10-16 18:16:18 +02:00
2018-10-16 15:52:56 +02:00
2018-10-17 09:20:28 +02:00
2018-08-08 16:04:06 +02:00
2018-07-09 13:40:45 +02:00
2018-10-17 09:20:28 +02:00
2018-10-08 18:50:11 +02:00
2018-10-16 17:09:04 +00:00
2018-10-08 18:50:11 +02:00

Nextcloud

pipeline status coverage report Go Report Card GoDoc

GoNextcloud

A simple Client for Nextcloud's Provisioning API in Go.

import "gitlab.adphi.fr/partitio/Nextcloud-Partitio/gonextcloud"

Usage

package main

import (
	"fmt"
	"gitlab.adphi.fr/partitio/Nextcloud-Partitio/gonextcloud"
)

func main() {
	url := "https://www.mynextcloud.com"
	username := "admin"
	password := "password"
	c, err := gonextcloud.NewClient(url)
	if err != nil {
		panic(err)
	}
	if err := c.Login(username, password); err != nil {
		panic(err)
	}
	defer c.Logout()
}

Run tests

Configure the tests for your instance by editing example.config.yml and renaming it config.yml

then run the tests :

$ go test -v .
Description
No description provided
Readme 3.2 MiB
Languages
Go 96.2%
HTML 2.6%
Makefile 1.2%