Documentation ¶
Overview ¶
Package mock_api is a generated GoMock package.
Copyright 2021 Sander Ruscigno ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTickerBeats ¶
type MockTickerBeats struct {
// contains filtered or unexported fields
}
MockTickerBeats is a mock of TickerBeats interface.
func NewMockTickerBeats ¶
func NewMockTickerBeats(ctrl *gomock.Controller) *MockTickerBeats
NewMockTickerBeats creates a new mock instance.
func (*MockTickerBeats) EXPECT ¶
func (m *MockTickerBeats) EXPECT() *MockTickerBeatsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTickerBeats) SendNotification ¶
func (m *MockTickerBeats) SendNotification(verb, kind string, body []byte) error
SendNotification mocks base method.
type MockTickerBeatsMockRecorder ¶
type MockTickerBeatsMockRecorder struct {
// contains filtered or unexported fields
}
MockTickerBeatsMockRecorder is the mock recorder for MockTickerBeats.
func (*MockTickerBeatsMockRecorder) SendNotification ¶
func (mr *MockTickerBeatsMockRecorder) SendNotification(verb, kind, body interface{}) *gomock.Call
SendNotification indicates an expected call of SendNotification.
type TickerBeats ¶
TickerBeats defines the functions that the service provides
type TransactionGRPc ¶
type TransactionGRPc struct {
// contains filtered or unexported fields
}
TransactionGRPc service
func NewTransactionGRPc ¶
func NewTransactionGRPc(ctx context.Context, cc *grpc.ClientConn) *TransactionGRPc
NewTransactionGRPc return a new Client instance
func (*TransactionGRPc) SendNotification ¶
func (c *TransactionGRPc) SendNotification(verb, kind string, body []byte) (int64, error)
SendNotification to ticker-heart