Documentation ¶
Index ¶
- func NewUUID(id *uuid.UUID) *events.UUID
- type FakeFirehose
- func (f *FakeFirehose) Close()
- func (f *FakeFirehose) CloseAliveConnection()
- func (f *FakeFirehose) KeepConnectionAlive()
- func (f *FakeFirehose) LastAuthorization() string
- func (f *FakeFirehose) Requested() bool
- func (f *FakeFirehose) SendEvent(eventType events.Envelope_EventType, message string)
- func (f *FakeFirehose) ServeHTTP(rw http.ResponseWriter, r *http.Request)
- func (f *FakeFirehose) SetCloseMessage(message []byte)
- func (f *FakeFirehose) Start()
- func (f *FakeFirehose) SubscriptionID() string
- func (f *FakeFirehose) URL() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FakeFirehose ¶
func NewFakeFirehose ¶
func NewFakeFirehose(validToken string) *FakeFirehose
func NewFakeFirehoseInAppMode ¶
func NewFakeFirehoseInAppMode(validToken, appName string) *FakeFirehose
func (*FakeFirehose) Close ¶
func (f *FakeFirehose) Close()
func (*FakeFirehose) CloseAliveConnection ¶
func (f *FakeFirehose) CloseAliveConnection()
func (*FakeFirehose) KeepConnectionAlive ¶
func (f *FakeFirehose) KeepConnectionAlive()
func (*FakeFirehose) LastAuthorization ¶
func (f *FakeFirehose) LastAuthorization() string
func (*FakeFirehose) Requested ¶
func (f *FakeFirehose) Requested() bool
func (*FakeFirehose) SendEvent ¶
func (f *FakeFirehose) SendEvent(eventType events.Envelope_EventType, message string)
func (*FakeFirehose) ServeHTTP ¶
func (f *FakeFirehose) ServeHTTP(rw http.ResponseWriter, r *http.Request)
func (*FakeFirehose) SetCloseMessage ¶
func (f *FakeFirehose) SetCloseMessage(message []byte)
func (*FakeFirehose) Start ¶
func (f *FakeFirehose) Start()
func (*FakeFirehose) SubscriptionID ¶
func (f *FakeFirehose) SubscriptionID() string
func (*FakeFirehose) URL ¶
func (f *FakeFirehose) URL() string
Click to show internal directories.
Click to hide internal directories.