projects

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2019 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package projects provides API calls related to projects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonResponse

type JsonResponse struct {
	Href  string    `json:"href"`
	Items []Project `json:"items"`
}

JsonResponse contains self link and array of Projects.

type Project

type Project struct {
	Href string `json:"href"`
	Id   string `json:"id"`
	Name string `json:"name"`
}

Project contains all the JSON fields from one Project.

func GetProjects

func GetProjects() (projects []Project, err error)

GetProjects will list the projects owned by and accessible to a particular user. Each project's ID and URL will be returned.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL