Documentation ¶
Index ¶
- func GetLatestCommit(data string) string
- func GetPushUser(data string) (user string)
- func GetRepoBranch(data string) (string, error)
- func GetRepoName(data string) (oname, name string, error error)
- func IsRemote(host conf.HostConfig) (ok bool)
- func PathExists(path string) (bool, error)
- func ResponseFormat(c *gin.Context, code int, msg string)
- type WebHookInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PathExists ¶
Types ¶
type WebHookInfo ¶
func NewWebHookInfo ¶
func NewWebHookInfo() *WebHookInfo
Click to show internal directories.
Click to hide internal directories.