MCPcopy
hub / github.com/caddyserver/caddy / timeElapsed

Function timeElapsed

caddytest/caddytest.go:111–114  ·  view source on GitHub ↗
(start time.Time, name string)

Source from the content-addressed store, hash-verified

109func (e configLoadError) Error() string { return e.Response }
110
111func timeElapsed(start time.Time, name string) {
112 elapsed := time.Since(start)
113 log.Printf("%s took %s", name, elapsed)
114}
115
116// InitServer this will configure the server with a configurion of a specific
117// type. The configType must be either "json" or the adapter type.

Callers 1

initServerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected