MCPcopy
hub / github.com/baetyl/baetyl / Unsubscribe

Method Unsubscribe

mock/plugin/pubsub.go:65–70  ·  view source on GitHub ↗

Unsubscribe mocks base method

(topic string, ch <-chan interface{})

Source from the content-addressed store, hash-verified

63
64// Unsubscribe mocks base method
65func (m *MockPubsub) Unsubscribe(topic string, ch <-chan interface{}) error {
66 m.ctrl.T.Helper()
67 ret := m.ctrl.Call(m, "Unsubscribe", topic, ch)
68 ret0, _ := ret[0].(error)
69 return ret0
70}
71
72// Unsubscribe indicates an expected call of Unsubscribe
73func (mr *MockPubsubMockRecorder) Unsubscribe(topic, ch interface{}) *gomock.Call {

Callers 4

CloseMethod · 0.45
CloseMethod · 0.45
receivingMethod · 0.45
TestReportAsyncFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestReportAsyncFunction · 0.36