Versions in this module Expand all Collapse all v1 v1.8.1 May 8, 2019 Changes in this version + func AddOrgHook(ctx *context.APIContext, form *api.CreateHookOption) + func AddRepoHook(ctx *context.APIContext, form *api.CreateHookOption) + func CheckCreateHookOption(ctx *context.APIContext, form *api.CreateHookOption) bool + func EditOrgHook(ctx *context.APIContext, form *api.EditHookOption, hookID int64) + func EditRepoHook(ctx *context.APIContext, form *api.EditHookOption, hookID int64) + func GetOrgHook(ctx *context.APIContext, orgID, hookID int64) (*models.Webhook, error) + func GetRepoHook(ctx *context.APIContext, repoID, hookID int64) (*models.Webhook, error) + func UserID(ctx *context.APIContext) int64