27 lines
348 B
Go
27 lines
348 B
Go
package main
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
/*
|
|
|
|
Timezone = UTC
|
|
|
|
*/
|
|
|
|
func main() {
|
|
addr := readHttpYML()
|
|
|
|
logger("----------------START----------------")
|
|
logger("timezone = UTC")
|
|
logger("connection open with address " + addr)
|
|
|
|
handler()
|
|
|
|
err := http.ListenAndServe(addr, nil)
|
|
errorPanic(err)
|
|
|
|
defer logger("----------------END----------------")
|
|
}
|