Documentation ¶ Index ¶ Variables type Config func New(scriptBash, secret string, port int, quiet bool) (cfg Config, err error) Constants ¶ This section is empty. Variables ¶ View Source var ( Version = "v1.0.0" Author = "barry" Email = "freeit@126.com" Name = "go-webhook" Copyright = "@2020 github.com/yezihack/go-webhook" Usage = "This is a github web hooks tools" ) Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { ScriptBash string // script bash path Port int Secret string // secret Quiet bool // only print info, errors } func New ¶ func New(scriptBash, secret string, port int, quiet bool) (cfg Config, err error) Source Files ¶ View all Source files config.go Click to show internal directories. Click to hide internal directories.