Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Config() *client.Config
- func (m *MockClient) Conn() *nats.Conn
- func (m *MockClient) Context() context.Context
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Logger() client.Logger
- func (m *MockClient) Meter() metric.Meter
- func (m *MockClient) QueueSubscribeSync(subject, queue string) (*nats.Subscription, error)
- func (m *MockClient) WithMeter(arg0 metric.Meter)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Config() *gomock.Call
- func (mr *MockClientMockRecorder) Conn() *gomock.Call
- func (mr *MockClientMockRecorder) Context() *gomock.Call
- func (mr *MockClientMockRecorder) Logger() *gomock.Call
- func (mr *MockClientMockRecorder) Meter() *gomock.Call
- func (mr *MockClientMockRecorder) QueueSubscribeSync(subject, queue any) *gomock.Call
- func (mr *MockClientMockRecorder) WithMeter(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) Context ¶
func (m *MockClient) Context() context.Context
Context mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) QueueSubscribeSync ¶
func (m *MockClient) QueueSubscribeSync(subject, queue string) (*nats.Subscription, error)
QueueSubscribeSync mocks base method.
func (*MockClient) WithMeter ¶
func (m *MockClient) WithMeter(arg0 metric.Meter)
WithMeter mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Config ¶
func (mr *MockClientMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockClientMockRecorder) Conn ¶
func (mr *MockClientMockRecorder) Conn() *gomock.Call
Conn indicates an expected call of Conn.
func (*MockClientMockRecorder) Context ¶
func (mr *MockClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockClientMockRecorder) Logger ¶
func (mr *MockClientMockRecorder) Logger() *gomock.Call
Logger indicates an expected call of Logger.
func (*MockClientMockRecorder) Meter ¶
func (mr *MockClientMockRecorder) Meter() *gomock.Call
Meter indicates an expected call of Meter.
func (*MockClientMockRecorder) QueueSubscribeSync ¶
func (mr *MockClientMockRecorder) QueueSubscribeSync(subject, queue any) *gomock.Call
QueueSubscribeSync indicates an expected call of QueueSubscribeSync.