mirror of
https://git.ferricyanide.solutions/A_D/irc-webhooks.git
synced 2024-12-22 18:07:04 +00:00
16 lines
263 B
Go
16 lines
263 B
Go
package main
|
|
|
|
import "fmt"
|
|
const configPrint = `
|
|
CONFIG:
|
|
Secret: %q
|
|
BindHost: %q
|
|
BindPort: %q
|
|
`
|
|
func main() {
|
|
config := getConfig()
|
|
fmt.Printf(configPrint, config.Secret, config.BindHost, config.BindPort)
|
|
|
|
ListenForWebHook(config)
|
|
}
|