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

Function serverStreamingPrimitiveDSL

http/codegen/websocket_golden_test.go:156–165  ·  view source on GitHub ↗

DSL definitions for comprehensive WebSocket testing

()

Source from the content-addressed store, hash-verified

154// DSL definitions for comprehensive WebSocket testing
155
156func serverStreamingPrimitiveDSL() {
157 Service("TestService", func() {
158 Method("StreamPrimitive", func() {
159 StreamingResult(String)
160 HTTP(func() {
161 GET("/stream/primitive")
162 })
163 })
164 })
165}
166
167func serverStreamingArrayDSL() {
168 Service("TestService", func() {

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected