16 lines
195 B
Go
16 lines
195 B
Go
package main
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
func main() {
|
|
addr := readHttpYML()
|
|
|
|
logger("Connection open with address " + addr)
|
|
|
|
handler()
|
|
|
|
err := http.ListenAndServe(addr, nil)
|
|
errorPanic(err)
|
|
}
|