client

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2019 License: GPL-3.0 Imports: 10 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL