View definition

func IsValidHookTaskType

Defined in github.com/gogits/gogs/models/webhook.go

Description

IsValidHookTaskType returns true if given name is a valid hook task type.