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

Function clientStreamingObjectDSL

http/codegen/websocket_golden_test.go:265–279  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263}
264
265func clientStreamingObjectDSL() {
266 Service("TestService", func() {
267 Method("ClientStreamObject", func() {
268 StreamingPayload(func() {
269 Attribute("data", String)
270 Attribute("timestamp", Int64)
271 Required("data")
272 })
273 Result(String)
274 HTTP(func() {
275 GET("/client/stream/object")
276 })
277 })
278 })
279}
280
281func clientStreamingUserTypeDSL() {
282 var Message = Type("Message", func() {

Callers

nothing calls this directly

Calls 8

MethodFunction · 0.85
StreamingPayloadFunction · 0.85
AttributeFunction · 0.85
RequiredFunction · 0.85
ResultFunction · 0.85
GETFunction · 0.85
ServiceFunction · 0.50
HTTPFunction · 0.50

Tested by

no test coverage detected