MCPcopy Create free account
hub / github.com/go-spring/go-spring / HasID

Method HasID

stdlib/httpsvr/handler.go:215–217  ·  view source on GitHub ↗

HasID returns true if the SSE event has an ID.

()

Source from the content-addressed store, hash-verified

213
214// HasID returns true if the SSE event has an ID.
215func (e *Event[T]) HasID() bool {
216 return e.id != nil
217}
218
219// GetID returns the ID of the SSE event.
220func (e *Event[T]) GetID() string {

Callers 1

HandleStreamFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected