api

package
v0.15.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package mock_api is a generated GoMock package.

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

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

type TickerBeats interface {
	SendNotification(verb, kind string, body []byte) error
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL