Versions in this module Expand all Collapse all v1 v1.42.9 Aug 3, 2023 v1.42.6 Nov 15, 2021 Changes in this version + var EventExceptionTypeHeader = eventstream.Header + var EventMessageTypeHeader = eventstream.Header + func AssertMessageEqual(t testing.TB, a, b eventstream.Message, msg ...interface{}) + func MarshalEventPayload(payloadMarshaler protocol.PayloadMarshaler, v interface{}) []byte + func SetupEventStreamSession(t *testing.T, handler http.Handler, h2 bool) (sess *session.Session, cleanupFn func(), err error) + type ServeEventStream struct + BiDirectional bool + ClientEvents []eventstream.Message + Events []eventstream.Message + ForceCloseAfter time.Duration + T *testing.T + func (s ServeEventStream) ServeHTTP(w http.ResponseWriter, r *http.Request)