lib

package
v0.0.0-...-964cb5d Latest Latest
Warning

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

Go to latest
Published: May 21, 2015 License: CC0-1.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

type Commit struct {
	ID      string `json:"id"`
	Message string `json:"message"`
	URL     string `json:"url"`
	Author  Person `json:"author"`
}

type CommitHook

type CommitHook struct {
	Secret     string     `json:"secret"`
	Ref        string     `json:"ref"`
	Commits    []Commit   `json:"commits"`
	Repository Repository `json:"repository"`
	Pusher     Person     `json:"pusher"`
	Before     string     `json:"before"`
	After      string     `json:"after"`
	CompareURL string     `json:"compare_url"`
}

type Person

type Person struct {
	Name     string `json:"name"`
	Email    string `json:"email"`
	Username string `json:"username"`
}

type Repository

type Repository struct {
	ID          int    `json:"id"`
	Name        string `json:"name"`
	URL         string `json:"url"`
	Description string `json:"description"`
	Website     string `json:"website"`
	Watchers    int    `json:"watchers"`
	Owner       Person `json:"owner"`
	Private     bool   `json:"private"`
}

Jump to

Keyboard shortcuts

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