Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateGithubIssueRequest ¶
type CreateGithubIssueRequest struct { UserId string `json:"userId"` Description string `json:"description"` Email string `json:"email"` Filepath string `json:"file"` }
CreateGithubIssueRequest create github issue request
type CreateGithubIssueResponse ¶
type CreateGithubIssueResponse struct { Result *CreateGithubIssueResponse Errors *infra.ErrorResponse HTTPResponse *http.Response Success bool }
CreateGithubIssueResponse represents create github issue response (either successful or error)
type FeedbackAPI ¶
type FeedbackAPI struct {
// contains filtered or unexported fields
}
FeedbackAPI client to submit user feedback
func NewFeedbackAPI ¶
func NewFeedbackAPI(apiURL string) (*FeedbackAPI, error)
NewFeedbackAPI creates new FeedbackAPI
func (*FeedbackAPI) CreateGithubIssue ¶
func (f *FeedbackAPI) CreateGithubIssue(request CreateGithubIssueRequest) (response *CreateGithubIssueResponse, err error)
CreateGithubIssue creates a github issue
Click to show internal directories.
Click to hide internal directories.