MCPcopy Create free account
hub / github.com/goadesign/goa / withReadStreamingPayload

Function withReadStreamingPayload

expr/interceptor_test.go:171–176  ·  view source on GitHub ↗
(t *testing.T, attrs *NamedAttributeExpr)

Source from the content-addressed store, hash-verified

169}
170
171func withReadStreamingPayload(t *testing.T, attrs *NamedAttributeExpr) func(*InterceptorExpr) {
172 t.Helper()
173 return func(i *InterceptorExpr) {
174 i.ReadStreamingPayload = &AttributeExpr{Type: &Object{attrs}}
175 }
176}
177
178func withReadStreamingResult(t *testing.T, attrs *NamedAttributeExpr) func(*InterceptorExpr) {
179 t.Helper()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected