Documentation ¶
Index ¶
Constants ¶
View Source
const SETTING_BUTTONS_TEAM = "team"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gitlab ¶
type Gitlab interface { GetCurrentUser(userID string, token oauth2.Token) (*GitlabUserInfo, error) GetUserDetails(user *GitlabUserInfo) (*internGitlab.User, error) GetProject(user *GitlabUserInfo, owner, repo string) (*internGitlab.Project, error) GetReviews(user *GitlabUserInfo) ([]*internGitlab.MergeRequest, error) GetYourPrs(user *GitlabUserInfo) ([]*internGitlab.MergeRequest, error) GetYourAssignments(user *GitlabUserInfo) ([]*internGitlab.Issue, error) GetUnreads(user *GitlabUserInfo) ([]*internGitlab.Todo, error) Exist(user *GitlabUserInfo, owner string, repo string, enablePrivateRepo bool) (bool, error) }
Gitlab is a client to call gitlab api see New() to build one
type GitlabUserInfo ¶
type UserSettings ¶
Click to show internal directories.
Click to hide internal directories.