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

Method GetID

stdlib/httpsvr/handler.go:220–222  ·  view source on GitHub ↗

GetID returns the ID of the SSE event.

()

Source from the content-addressed store, hash-verified

218
219// GetID returns the ID of the SSE event.
220func (e *Event[T]) GetID() string {
221 return *e.id
222}
223
224// HasEvent returns true if the SSE event has an event type.
225func (e *Event[T]) HasEvent() bool {

Callers 1

HandleStreamFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected