Versions in this module Expand all Collapse all v0 v0.1.0 Dec 29, 2019 Changes in this version + var NotFoundError = errors.New("Not Found") + func IssueURL(baseURL *url.URL, shortProjectName string, issueNumberInProject int) *url.URL + type Api struct + BaseURL *url.URL + EnableTracing bool + Token string + func NewDefaultApi() (*Api, error) + func (api *Api) CreateIssue(ctx context.Context, project, summary, description string) (*IssueResult, error) + func (api *Api) CreateIssueAttachment(ctx context.Context, issueID string, attachment io.Reader, ...) (string, error) + func (api *Api) DoRequest(ctx context.Context, resource *url.URL, method string, ...) error + func (api *Api) Get(ctx context.Context, resource *url.URL, jsonResult interface{}) error + func (api *Api) IssueURL(shortProjectName string, issueNumberInProject int) *url.URL + func (api *Api) ListProjects(ctx context.Context) ([]Project, error) + func (api *Api) Post(ctx context.Context, resource *url.URL, jsonRequest, jsonResult interface{}) error + func (api *Api) ProjectIDForShortName(ctx context.Context, shortName string) (string, error) + type IDResult struct + ID string + type Issue struct + Description string + Project ProjectID + Summary string + type IssueAttachment struct + Base64Content string + Name string + type IssueResult struct + NumberInProject int + type Project struct + ID string + ShortName string + type ProjectID struct + ID string