Documentation ¶ Index ¶ func HandlerWebHook(c *gin.Context) func SetStatus(repo *gitea.Repository, commit string, status gitea.StatusState, desc string, ...) type Func type Runner func NewRunner(workingDir string, repo *git.Repository, hook *models.PRHook, funcs ...Func) *Runner func (c *Runner) Run() <-chan error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HandlerWebHook ¶ func HandlerWebHook(c *gin.Context) func SetStatus ¶ func SetStatus(repo *gitea.Repository, commit string, status gitea.StatusState, desc string, isPR bool) Types ¶ type Func ¶ type Func func(ctx context.Context, workingDi string, r *git.Repository, hook *models.PRHook) error type Runner ¶ type Runner struct { // contains filtered or unexported fields } func NewRunner ¶ func NewRunner(workingDir string, repo *git.Repository, hook *models.PRHook, funcs ...Func) *Runner func (*Runner) Run ¶ func (c *Runner) Run() <-chan error Source Files ¶ View all Source files gitea.gorunner.gowebhook.go Directories ¶ Show internal Expand all Path Synopsis config testcoverage Click to show internal directories. Click to hide internal directories.