MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / init

Function init

pprof.go:11–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9)
10
11func init() {
12 bind := os.Getenv("IMGPROXY_PPROF_BIND")
13
14 if len(bind) == 0 {
15 bind = ":8088"
16 }
17
18 go func() {
19 http.ListenAndServe(bind, nil)
20 }()
21}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected