# Functions
HashPayload hashes the payload.
IsValidPayload validates the webhook payload.
Validate validates the webhook payload.
# Constants
HookTypeDingtalk webhook that dingtalk understand.
HookTypeDiscord webhook that discord understand.
HookTypeFeishu webhook that feishu understand.
HookTypeGitea webhook that gitea understand.
HookTypeGogs webhook that gogs understand.
HookTypeMsteams webhook that msteams understand.
HookTypeSlack webhook that slack understand.
HookTypeTelegram webhook that telegram understand.
# Structs
BranchResponse is a respond struct for branch request.
Client is a gitea client struct.
Comment is a comment payload.
CommentBody is a body structure for creating new comment.
CommentResponse is a comment list response.
CommitCommentWebhook is a gitea-specific commit_comment webhook body.
CommitResponse is a commits list response.
CommitStatusRequest is an API body for setting commits' status.
CommitStatusResponse is a response body of getting commit status.
DiffFile is a.
IssueCommentWebhook is a gitea-specific issue_comment webhook body.
LabelBody is a body structure for setting a label to issues/prs.
MergeRequest is a request struct to merge a pull request.
PullRequest is a pull request info.
PullRequestReviewCommentWebhook is a gitea-specific pull_request_review_comment webhook body.
PullRequestReviewWebhook is a gitea-specific pull_request_review webhook body.
PullRequestWebhook is a gitea-specific pull-request event webhook body.
PushWebhook is a gitea-specific push event webhook body.
RegistrationWebhookBody is a request body for registering webhook to remote git server.
RegistrationWebhookBodyConfig is a config for the webhook.
Repo structure for webhook event.
ReviewResponse is a review list response.
User is a sender of the event.
UserInfo is a body of user get API.
UserPermission is a user's permission on a repository.
WebhookEntry is a body of list of registered webhooks.