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

Function serverStreamingObjectDSL

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

Source from the content-addressed store, hash-verified

176}
177
178func serverStreamingObjectDSL() {
179 Service("TestService", func() {
180 Method("StreamObject", func() {
181 StreamingResult(func() {
182 Attribute("id", String)
183 Attribute("name", String)
184 Required("id")
185 })
186 HTTP(func() {
187 GET("/stream/object")
188 })
189 })
190 })
191}
192
193func serverStreamingUserTypeDSL() {
194 var UserType = Type("User", func() {

Callers

nothing calls this directly

Calls 7

MethodFunction · 0.85
StreamingResultFunction · 0.85
AttributeFunction · 0.85
RequiredFunction · 0.85
GETFunction · 0.85
ServiceFunction · 0.50
HTTPFunction · 0.50

Tested by

no test coverage detected