// middlewareSetContext sets the echo.Context k/v pairs
middlewareSetContext sets the echo.Context k/v pairs
// middlewareSetContext sets the echo . Context k / v pairs
func (dp *DataPlane) middlewareSetContext(k string, v interface{}) echo.MiddlewareFunc {
	return func(next echo.HandlerFunc) echo.HandlerFunc {
		return func(c echo.Context) error {
			c.Set(k, v)
			return next(c)
		}
	}
}
func ( dp * DataPlane ) middlewareSetContext ( k string , v interface { } ) echo . MiddlewareFunc { return func ( next echo . HandlerFunc ) echo . HandlerFunc { return func ( c echo . Context ) error { c . Set ( k , v ) return next ( c ) } } }
middlewareSetContext sets the echo.Context k/v pairs
middlewareSetContext sets the echo . Context k / v pairs