mirror of
https://github.com/divan/expvarmon.git
synced 2025-05-04 22:18:08 +08:00
12 lines
150 B
Go
12 lines
150 B
Go
![]() |
package main
|
||
|
|
||
|
import (
|
||
|
_ "expvar"
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func StartHttp(bind string) {
|
||
|
// silently discard error here
|
||
|
http.ListenAndServe(":"+bind, nil)
|
||
|
}
|