Documentation ¶
Overview ¶
Package mockserver is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGRPCServer ¶ added in v0.7.0
type MockGRPCServer struct {
// contains filtered or unexported fields
}
MockGRPCServer is a mock of GRPCServer interface.
func NewMockGRPCServer ¶ added in v0.7.0
func NewMockGRPCServer(ctrl *gomock.Controller) *MockGRPCServer
NewMockGRPCServer creates a new mock instance.
func (*MockGRPCServer) EXPECT ¶ added in v0.7.0
func (m *MockGRPCServer) EXPECT() *MockGRPCServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGRPCServer) Register ¶ added in v0.7.0
func (m *MockGRPCServer) Register(arg0 []grpc.Service)
Register mocks base method.
func (*MockGRPCServer) Serve ¶ added in v0.7.0
func (m *MockGRPCServer) Serve(arg0 chan<- error)
Serve mocks base method.
func (*MockGRPCServer) Stop ¶ added in v0.7.0
func (m *MockGRPCServer) Stop()
Stop mocks base method.
type MockGRPCServerMockRecorder ¶ added in v0.7.0
type MockGRPCServerMockRecorder struct {
// contains filtered or unexported fields
}
MockGRPCServerMockRecorder is the mock recorder for MockGRPCServer.
func (*MockGRPCServerMockRecorder) Register ¶ added in v0.7.0
func (mr *MockGRPCServerMockRecorder) Register(arg0 interface{}) *gomock.Call
Register indicates an expected call of Register.
func (*MockGRPCServerMockRecorder) Serve ¶ added in v0.7.0
func (mr *MockGRPCServerMockRecorder) Serve(arg0 interface{}) *gomock.Call
Serve indicates an expected call of Serve.
func (*MockGRPCServerMockRecorder) Stop ¶ added in v0.7.0
func (mr *MockGRPCServerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type MockHTTPServer ¶ added in v0.7.0
type MockHTTPServer struct {
// contains filtered or unexported fields
}
MockHTTPServer is a mock of HTTPServer interface.
func NewMockHTTPServer ¶ added in v0.7.0
func NewMockHTTPServer(ctrl *gomock.Controller) *MockHTTPServer
NewMockHTTPServer creates a new mock instance.
func (*MockHTTPServer) EXPECT ¶ added in v0.7.0
func (m *MockHTTPServer) EXPECT() *MockHTTPServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHTTPServer) Handle ¶ added in v0.7.0
func (m *MockHTTPServer) Handle(arg0 http.Handler)
Handle mocks base method.
func (*MockHTTPServer) Serve ¶ added in v0.7.0
func (m *MockHTTPServer) Serve(arg0 chan<- error)
Serve mocks base method.
func (*MockHTTPServer) Stop ¶ added in v0.7.0
func (m *MockHTTPServer) Stop()
Stop mocks base method.
type MockHTTPServerMockRecorder ¶ added in v0.7.0
type MockHTTPServerMockRecorder struct {
// contains filtered or unexported fields
}
MockHTTPServerMockRecorder is the mock recorder for MockHTTPServer.
func (*MockHTTPServerMockRecorder) Handle ¶ added in v0.7.0
func (mr *MockHTTPServerMockRecorder) Handle(arg0 interface{}) *gomock.Call
Handle indicates an expected call of Handle.
func (*MockHTTPServerMockRecorder) Serve ¶ added in v0.7.0
func (mr *MockHTTPServerMockRecorder) Serve(arg0 interface{}) *gomock.Call
Serve indicates an expected call of Serve.
func (*MockHTTPServerMockRecorder) Stop ¶ added in v0.7.0
func (mr *MockHTTPServerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.