mailautoconf/src/mailautoconf.go

16 lines
285 B
Go

package main
import (
"fmt"
"net/http"
"log"
"mailautoconf/web/handler"
"mailautoconf/global"
)
func main() {
global.NewConfig()
http.HandleFunc("/", handler.WebHandler)
fmt.Println("Starting up Web Listener on port 8010")
log.Fatal(http.ListenAndServe(":8010", nil))
}