Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CombinedStatus ¶
type Commit ¶
type Commit struct { // ID for this commit // required: true ID int64 `json:"id" meddler:"id,pk"` Repo string `json:"-" meddler:"repo"` SHA string `json:"sha" meddler:"sha"` URL string `json:"url" meddler:"url"` Author string `json:"author" meddler:"author"` AuthorPic string `json:"author_pic" meddler:"author_pic"` Tags []string `json:"tags,omitempty" meddler:"tags,json"` Status CombinedStatus `json:"status,omitempty" meddler:"status,json"` Message string `json:"message" meddler:"message"` Created int64 `json:"created" meddler:"created"` }
Commit represents a Github commit
type User ¶
type User struct { // ID for this user // required: true ID int64 `json:"-" meddler:"id,pk"` // Login is the username for this user // required: true Login string `json:"login" meddler:"login"` // Name is the full name for this user Name string `json:"name" meddler:"name"` // Login is the username for this user // required: true Email string `json:"-" meddler:"email"` // GithubToken is the Github oauth token AccessToken string `json:"-" meddler:"access_token"` // RefreshToken is the Github refresh token RefreshToken string `json:"-" meddler:"refresh_token"` // Expires is the Github token expiry date Expires int64 `json:"-" meddler:"expires"` // Secret is the PEM formatted RSA private key used to sign JWT and CSRF tokens Secret string `json:"-" meddler:"secret"` }
User is the user representation
Click to show internal directories.
Click to hide internal directories.