Versions in this module Expand all Collapse all v0 v0.1.0 Aug 13, 2020 Changes in this version + type FakeSubscriber struct + func NewFakeSubscriber(ch chan *obm.Update) *FakeSubscriber + func (s *FakeSubscriber) OnSnapshot(_ string, u *obm.Update) error + func (s *FakeSubscriber) OnUpdate(_ string, u *obm.Update) error + type WS struct + func NewWS(t *testing.T, fn WsFn) *WS + func (ws *WS) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (ws *WS) Start() (string, func()) + type WsFn func(*testing.T, *websocket.Conn)