Documentation
¶
Overview ¶
Package test_pubsub is a generated GoMock package.
Package test_pubsub is a generated GoMock package.
Index ¶
- type MockJoinServer
- type MockJoinServerMockRecorder
- type MockTopicServer
- func (m *MockTopicServer) EXPECT() *MockTopicServerMockRecorder
- func (m *MockTopicServer) Name(arg0 context.Context, arg1 pubsub.Topic_name) error
- func (m *MockTopicServer) Publish(arg0 context.Context, arg1 pubsub.Topic_publish) error
- func (m *MockTopicServer) Subscribe(arg0 context.Context, arg1 pubsub.Topic_subscribe) error
- type MockTopicServerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockJoinServer ¶
type MockJoinServer struct {
// contains filtered or unexported fields
}
MockJoinServer is a mock of JoinServer interface.
func NewMockJoinServer ¶
func NewMockJoinServer(ctrl *gomock.Controller) *MockJoinServer
NewMockJoinServer creates a new mock instance.
func (*MockJoinServer) EXPECT ¶
func (m *MockJoinServer) EXPECT() *MockJoinServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJoinServer) Join ¶
func (m *MockJoinServer) Join(arg0 context.Context, arg1 pubsub.Router_join) error
Join mocks base method.
type MockJoinServerMockRecorder ¶
type MockJoinServerMockRecorder struct {
// contains filtered or unexported fields
}
MockJoinServerMockRecorder is the mock recorder for MockJoinServer.
func (*MockJoinServerMockRecorder) Join ¶
func (mr *MockJoinServerMockRecorder) Join(arg0, arg1 interface{}) *gomock.Call
Join indicates an expected call of Join.
type MockTopicServer ¶
type MockTopicServer struct {
// contains filtered or unexported fields
}
MockTopicServer is a mock of TopicServer interface.
func NewMockTopicServer ¶
func NewMockTopicServer(ctrl *gomock.Controller) *MockTopicServer
NewMockTopicServer creates a new mock instance.
func (*MockTopicServer) EXPECT ¶
func (m *MockTopicServer) EXPECT() *MockTopicServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTopicServer) Name ¶
func (m *MockTopicServer) Name(arg0 context.Context, arg1 pubsub.Topic_name) error
Name mocks base method.
func (*MockTopicServer) Publish ¶
func (m *MockTopicServer) Publish(arg0 context.Context, arg1 pubsub.Topic_publish) error
Publish mocks base method.
func (*MockTopicServer) Subscribe ¶
func (m *MockTopicServer) Subscribe(arg0 context.Context, arg1 pubsub.Topic_subscribe) error
Subscribe mocks base method.
type MockTopicServerMockRecorder ¶
type MockTopicServerMockRecorder struct {
// contains filtered or unexported fields
}
MockTopicServerMockRecorder is the mock recorder for MockTopicServer.
func (*MockTopicServerMockRecorder) Name ¶
func (mr *MockTopicServerMockRecorder) Name(arg0, arg1 interface{}) *gomock.Call
Name indicates an expected call of Name.
func (*MockTopicServerMockRecorder) Publish ¶
func (mr *MockTopicServerMockRecorder) Publish(arg0, arg1 interface{}) *gomock.Call
Publish indicates an expected call of Publish.
func (*MockTopicServerMockRecorder) Subscribe ¶
func (mr *MockTopicServerMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.