iotex-core: github.com/iotexproject/iotex-core/test/mock/mock_apiserver Index | Files

package mock_apiserver

import "github.com/iotexproject/iotex-core/test/mock/mock_apiserver"

Package mock_apiserver is a generated GoMock package.

Index

Package Files

mock_apiserver.go

type MockStreamBlocksServer Uses

type MockStreamBlocksServer struct {
    // contains filtered or unexported fields
}

MockStreamBlocksServer is a mock of StreamBlocksServer interface

func NewMockStreamBlocksServer Uses

func NewMockStreamBlocksServer(ctrl *gomock.Controller) *MockStreamBlocksServer

NewMockStreamBlocksServer creates a new mock instance

func (*MockStreamBlocksServer) Context Uses

func (m *MockStreamBlocksServer) Context() context.Context

Context mocks base method

func (*MockStreamBlocksServer) EXPECT Uses

func (m *MockStreamBlocksServer) EXPECT() *MockStreamBlocksServerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStreamBlocksServer) RecvMsg Uses

func (m_2 *MockStreamBlocksServer) RecvMsg(m interface{}) error

RecvMsg mocks base method

func (*MockStreamBlocksServer) Send Uses

func (m *MockStreamBlocksServer) Send(arg0 *iotexapi.StreamBlocksResponse) error

Send mocks base method

func (*MockStreamBlocksServer) SendHeader Uses

func (m *MockStreamBlocksServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method

func (*MockStreamBlocksServer) SendMsg Uses

func (m_2 *MockStreamBlocksServer) SendMsg(m interface{}) error

SendMsg mocks base method

func (*MockStreamBlocksServer) SetHeader Uses

func (m *MockStreamBlocksServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method

func (*MockStreamBlocksServer) SetTrailer Uses

func (m *MockStreamBlocksServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method

type MockStreamBlocksServerMockRecorder Uses

type MockStreamBlocksServerMockRecorder struct {
    // contains filtered or unexported fields
}

MockStreamBlocksServerMockRecorder is the mock recorder for MockStreamBlocksServer

func (*MockStreamBlocksServerMockRecorder) Context Uses

func (mr *MockStreamBlocksServerMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context

func (*MockStreamBlocksServerMockRecorder) RecvMsg Uses

func (mr *MockStreamBlocksServerMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockStreamBlocksServerMockRecorder) Send Uses

func (mr *MockStreamBlocksServerMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send

func (*MockStreamBlocksServerMockRecorder) SendHeader Uses

func (mr *MockStreamBlocksServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader

func (*MockStreamBlocksServerMockRecorder) SendMsg Uses

func (mr *MockStreamBlocksServerMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockStreamBlocksServerMockRecorder) SetHeader Uses

func (mr *MockStreamBlocksServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader

func (*MockStreamBlocksServerMockRecorder) SetTrailer Uses

func (mr *MockStreamBlocksServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer

Package mock_apiserver imports 5 packages (graph). Updated 2020-08-04. Refresh now. Tools for package owners.