fixtures

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const HookPullRequest = `` /* 1643-byte string literal not displayed */

HookPullRequest is a sample pull_request webhook payload

View Source
const HookPullRequestClosed = `` /* 11161-byte string literal not displayed */
View Source
const HookPullRequestMerged = `` /* 11890-byte string literal not displayed */
View Source
const HookPush = `` /* 1679-byte string literal not displayed */

HookPush is a sample Gitea push hook

View Source
const HookPushBranch = `` /* 4551-byte string literal not displayed */

HookPushBranch is a sample Gitea push hook where a new branch was created from an existing commit

View Source
const HookTag = `` /* 1184-byte string literal not displayed */

HookTag is a sample Gitea tag hook

Variables

This section is empty.

Functions

func Handler

func Handler() http.Handler

Handler returns an http.Handler that is capable of handling a variety of mock Gitea requests and returning mock responses.

Types

This section is empty.

Jump to

Keyboard shortcuts

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