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

Method GetRetry

stdlib/httpsvr/handler.go:245–247  ·  view source on GitHub ↗

GetRetry returns the retry interval of the SSE event.

()

Source from the content-addressed store, hash-verified

243
244// GetRetry returns the retry interval of the SSE event.
245func (e *Event[T]) GetRetry() int {
246 return *e.retry
247}
248
249type StreamHandler[Req any, Resp any] func(context.Context, Req, chan<- Resp)
250

Callers 1

HandleStreamFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected