MCPcopy Index your code
hub / github.com/go-spring/go-spring / GetEvent

Method GetEvent

stdlib/httpsvr/handler.go:230–232  ·  view source on GitHub ↗

GetEvent returns the event type of the SSE event.

()

Source from the content-addressed store, hash-verified

228
229// GetEvent returns the event type of the SSE event.
230func (e *Event[T]) GetEvent() string {
231 return *e.event
232}
233
234// GetData returns the data of the SSE event.
235func (e *Event[T]) GetData() any {

Callers 1

HandleStreamFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected