MCPcopy Create free account
hub / github.com/ericls/imgdd / init

Function init

httpserver/common_middleware.go:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19var httpLogger zerolog.Logger
20
21func init() {
22 httpLogger = logging.GetLogger("http_logger")
23}
24
25func RWContextMiddleware(next http.Handler) http.Handler {
26 return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

Callers

nothing calls this directly

Calls 1

GetLoggerFunction · 0.92

Tested by

no test coverage detected