2018-11-16 16:43:18 +00:00
|
|
|
package main
|
|
|
|
|
2018-11-16 20:34:38 +00:00
|
|
|
import "fmt"
|
|
|
|
const configPrint = `
|
|
|
|
CONFIG:
|
|
|
|
Secret: %q
|
|
|
|
BindHost: %q
|
|
|
|
BindPort: %q
|
|
|
|
`
|
|
|
|
func main() {
|
2018-11-16 19:31:45 +00:00
|
|
|
config := getConfig()
|
2018-11-16 20:34:38 +00:00
|
|
|
fmt.Printf(configPrint, config.Secret, config.BindHost, config.BindPort)
|
|
|
|
|
2018-11-16 19:31:45 +00:00
|
|
|
ListenForWebHook(config)
|
2018-11-16 16:43:18 +00:00
|
|
|
}
|