Discover Packages
github.com/lucasmelin/gh-hook
cmd
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Mar 10, 2023
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Event struct {
Name string `json:"name"`
}
type Hook struct {
Id int `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Active bool `json:"active,omitempty"`
Events []string `json:"events,omitempty"`
Config HookConfig `json:"config,omitempty"`
}
type HookConfig struct {
Url string `json:"url,omitempty"`
ContentType string `json:"content_type,omitempty"`
InsecureSSL string `json:"insecure_ssl,omitempty"`
Secret string `json:"secret,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.