mailautoconf/src/mailautoconf.go

17 lines
285 B
Go
Raw Normal View History

package main
import (
"fmt"
"net/http"
"log"
"mailautoconf/web/handler"
2021-08-16 14:21:30 +02:00
"mailautoconf/global"
)
func main() {
2021-08-16 14:21:30 +02:00
global.NewConfig()
http.HandleFunc("/", handler.WebHandler)
2021-08-16 14:21:30 +02:00
fmt.Println("Starting up Web Listener on port 8010")
log.Fatal(http.ListenAndServe(":8010", nil))
}