package
0.0.0-20210329235442-a9e2aaa989bd
Repository: https://github.com/therockettek/errorly-web.git
Documentation: pkg.go.dev

# Functions

ParseActionType converts a response string into a ActionType value.
ParseEntryType converts a response string into a EntryType value.

# Constants

ActionAssign signifies that someone is being assigned/unassigned.
ActionLockComments signifies the comments for an issue is about to be locked/unlocked.
ActionMarkStatus signifies the status of an issue is changing.
ActionStar signifies the issue will be starred/un-starred.
CommentsLocked denotes comments have been locked or unlocked.
DiscordUser is a user who has authenticated with discord OAuth2.
DiscordWebhook denotes the payload should supply a payload that would accept by a discord webhook.
EntryActive means an issue has not been fixed and not assigned yet.
EntryInvalid means an issue is likely incorrect or false positive.
EntryOpen means an issue has been assigned but not fixed yet.
EntryResolved means an issue has been fixed.
IntegrationUser is a 3rd party managed application.
IssueAssigned signifies a user was assigned to an issue.
IssueComment signifies a user sent a new comment.
IssueCreate signifies a new issue was made.
IssueLocked signifies comments on an issue was locked/unlocked.
IssueMarked denotes the issue status has changed.
IssueMarkStatus signifies the status of an issue has changed.
IssueStarred signifies a message was starred/unstarred.
Message denotes the comment is a regular message.
RegularPayload denotes the payload should be similar to a REST response.
TestWebhooks should not be shown however still properly handled, if possible however by default will still display a message.

# Structs

APIMe is the structure of the /api/me endpoint.
APIProject is the structure of the GET /api/project/{id} endpoint.
APIProjectExecutor is the structure of the POST /api/project/{id}/execute endpoint.
APIProjectInviteGet is the structure of the GET /api/project/{id}/invite/{code}.
APIProjectIssueComments is the structure of the GET /api/project/{id}/issues/{issue_id}/comments endpoint.
APIProjectIssueCreate is the structure of the POST /api/project/{id}/issues endpoint.
APIProjectIssues is the structure of the GET /api/project/{id}/issues endpoint.
APIProjectLazy is the structure of the GET /api/project/{id}/lazy endpoint and /api/project/{id}/contributors.
APIProjectUpdate is the structure of the POST /api/project/{id}.
BaseResponse is the structure of all REST requests.
Comment contains the structure of an issue comment.
InviteCode is the structure of an invite.
IssueEntry contains the structure of an issue entry.
PartialProject is a partial version of a project object.
PartialUser is the partial version of a user object.
Project contains the structure of a project.
ProjectSettings contains the structure of project settings.
User contains the structure of a user.
Webhook contains the structure of a webhook integration.
WebhookMessage is the generic payload for all webhook messages.
WebhookTest is the structure of the /api/project/{project_id}/webhook/{webhook_id}/test request.

# Type aliases

ActionType signifies the action type of a task.
ContentType signifies the comment type.
EntryType signifies the entry status type.
UserType signifies how they have authenticated into Errorly.
WebhookEventType signifies what type of event occurred for the webhook.
WebhookType signifies how the payload should be sent.