Basic functionality working
Some checks failed
Deploy and Push Docker Image / BuildAndPush (push) Failing after 14s
Some checks failed
Deploy and Push Docker Image / BuildAndPush (push) Failing after 14s
This commit is contained in:
19
cmd/wee_woo_webhook/main.go
Normal file
19
cmd/wee_woo_webhook/main.go
Normal file
@ -0,0 +1,19 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
|
||||
"gitea.henriburau.de/ace966/WeeWooWebhook/internal/olc"
|
||||
"gitea.henriburau.de/ace966/WeeWooWebhook/internal/server"
|
||||
)
|
||||
|
||||
const (
|
||||
WeeWooAddr = "http://192.168.1.167"
|
||||
)
|
||||
|
||||
func main() {
|
||||
officeLightClient := olc.NewClient(WeeWooAddr)
|
||||
server := server.NewServer(officeLightClient)
|
||||
|
||||
log.Fatal(server.ListenAndServe())
|
||||
}
|
||||
Reference in New Issue
Block a user