Tesla/main.go

20 lines
337 B
Go
Raw Normal View History

2023-06-05 13:41:48 +00:00
package main
import (
"git.dev.m-and-m.ovh/mderasse/tesla/alert"
"git.dev.m-and-m.ovh/mderasse/tesla/api"
"git.dev.m-and-m.ovh/mderasse/tesla/bot"
log "github.com/sirupsen/logrus"
)
func main() {
log.Info("Starting Tesla Alerter Bot")
alertChan := make(chan api.Availability)
go bot.Init(alertChan)
alert.Init(alertChan)
}