mirror of
https://github.com/openshift/image-registry.git
synced 2026-02-05 09:45:55 +01:00
8 lines
175 B
Go
8 lines
175 B
Go
package server
|
|
|
|
import "context"
|
|
|
|
func withAppMiddleware(parent context.Context, am appMiddleware) context.Context {
|
|
return context.WithValue(parent, appMiddlewareKey, am)
|
|
}
|