1
0
mirror of https://github.com/divan/expvarmon.git synced 2025-05-04 22:18:08 +08:00
expvarmon/http.go
2015-05-03 16:52:38 +03:00

12 lines
150 B
Go

package main
import (
_ "expvar"
"net/http"
)
func StartHttp(bind string) {
// silently discard error here
http.ListenAndServe(":"+bind, nil)
}