diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2017-04-10 21:18:42 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2017-04-10 21:38:33 +0100 |
commit | 30802e07b2d84fbc213b490d3402707dffe60096 (patch) | |
tree | 934aecb8f3582325dfd1aa6652193adac87d00db /vendor/github.com/xanzy/go-gitlab/session.go | |
parent | da7638dc112c4c106e8929601b642d2ca4596cba (diff) |
update dependencies
Diffstat (limited to 'vendor/github.com/xanzy/go-gitlab/session.go')
-rw-r--r-- | vendor/github.com/xanzy/go-gitlab/session.go | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/vendor/github.com/xanzy/go-gitlab/session.go b/vendor/github.com/xanzy/go-gitlab/session.go index 571483c..a5083c2 100644 --- a/vendor/github.com/xanzy/go-gitlab/session.go +++ b/vendor/github.com/xanzy/go-gitlab/session.go @@ -21,14 +21,16 @@ import "time" // SessionService handles communication with the session related methods of // the GitLab API. // -// GitLab API docs: https://docs.gitlab.com/ce/api/session.html +// GitLab API docs: +// https://gitlab.com/gitlab-org/gitlab-ce/blob/8-16-stable/doc/api/session.md type SessionService struct { client *Client } // Session represents a GitLab session. // -// GitLab API docs: https://docs.gitlab.com/ce/api/session.html#session +// GitLab API docs: +// https://gitlab.com/gitlab-org/gitlab-ce/blob/8-16-stable/doc/api/session.md#session type Session struct { ID int `json:"id"` Username string `json:"username"` @@ -52,7 +54,8 @@ type Session struct { // GetSessionOptions represents the available Session() options. // -// GitLab API docs: https://docs.gitlab.com/ce/api/session.html#session +// GitLab API docs: +// https://gitlab.com/gitlab-org/gitlab-ce/blob/8-16-stable/doc/api/session.md#session type GetSessionOptions struct { Login *string `url:"login,omitempty" json:"login,omitempty"` Email *string `url:"email,omitempty" json:"email,omitempty"` @@ -61,7 +64,8 @@ type GetSessionOptions struct { // GetSession logs in to get private token. // -// GitLab API docs: https://docs.gitlab.com/ce/api/session.html#session +// GitLab API docs: +// https://gitlab.com/gitlab-org/gitlab-ce/blob/8-16-stable/doc/api/session.md#session func (s *SessionService) GetSession(opt *GetSessionOptions, options ...OptionFunc) (*Session, *Response, error) { req, err := s.client.NewRequest("POST", "session", opt, options) if err != nil { |