bug_report

package
v0.0.0-...-3226cea Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIssue

func CreateIssue(issueRequest *IssueRequest, repo string, preset string, genUrl bool) (string, error)

func CreateTicket

func CreateTicket(ticketRequest *TicketRequest) error

func UploadToPrivateBin

func UploadToPrivateBin(file, content string) (string, error)

Upload text to private bin

Types

type IssueRequest

type IssueRequest struct {
	Title        string    `json:"title"`
	Sections     []Section `json:"sections"`
	DebugInfoUrl string    `json:"debugInfoUrl"`
}

type PrivateBin

type PrivateBin struct {
	Urls struct {
		File []string
	}
}

type Section

type Section struct {
	Title string `json:"title"`
	Body  string `json:"body"`
}

type TicketRequest

type TicketRequest struct {
	Title        string    `json:"title"`
	Sections     []Section `json:"sections"`
	RepoName     string    `json:"repoName"`
	Email        string    `json:"email"`
	DebugInfoUrl string    `json:"debugInfoUrl"`
}

Jump to

Keyboard shortcuts

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