Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultBaseURL = "https://gitlab.com/api/v4"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateNote ¶
func (*Client) PullRequestNotes ¶
type ClientOption ¶
func WithBaseURL ¶
func WithBaseURL(url string) ClientOption
WithBaseURL sets the base URL for the Gitlab client.
func WithToken ¶
func WithToken(token string) ClientOption
WithToken sets the private token for the Gitlab client.
type PrivateToken ¶
type PrivateToken struct { Token string Base http.RoundTripper }
func (*PrivateToken) CancelRequest ¶
func (t *PrivateToken) CancelRequest(req *http.Request)
Click to show internal directories.
Click to hide internal directories.