domain

package
v0.0.0-...-81ff50b Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2017 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

View Source
const TokenHeader = "token"

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {
	Author  string `json:"author"`
	Message string `json:"message"`
	Branch  string `json:"branch,omitempty"`
	Email   string `json:"email"`
}

type File

type File struct {
	Path    string `json:"path"`
	Content []byte `json:"content"`
}

type Key

type Key struct {
	ID    *int    `json:"id,omitempty"`
	Key   *string `json:"key,omitempty"`
	Title *string `json:"title,omitempty"`
	URL   *string `json:"url,omitempty"`
}
type Link struct {
	Title string
	URL   string
}

Link defines the structure to the navigation links

type Repository

type Repository struct {
	Name        *string `json:"name,omitempty"`
	FullName    *string `json:"full_name,omitempty"`
	Description *string `json:"description,omitempty"`
	Private     *bool   `json:"private,omitempty"`
	HTMLURL     *string `json:"html_url,omitempty"`
	CloneURL    *string `json:"clone_url,omitempty"`
	SSHURL      *string `json:"ssh_url,omitempty"`
}

type User

type User struct {
	ID             int
	Username       string
	AccessToken    string
	ExpirationDate int64
}

User is a type where the user attributes are stored

Jump to

Keyboard shortcuts

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