servicehandler

package
v0.0.0-...-9997e61 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package servicehandler is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServiceHandler

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

MockServiceHandler is a mock of ServiceHandler interface

func NewMockServiceHandler

func NewMockServiceHandler(ctrl *gomock.Controller) *MockServiceHandler

NewMockServiceHandler creates a new mock instance

func (*MockServiceHandler) EXPECT

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

func (*MockServiceHandler) GeoFind

func (m *MockServiceHandler) GeoFind(address string, countries []string) (bool, error)

GeoFind mocks base method

type MockServiceHandlerMockRecorder

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

MockServiceHandlerMockRecorder is the mock recorder for MockServiceHandler

func (*MockServiceHandlerMockRecorder) GeoFind

func (mr *MockServiceHandlerMockRecorder) GeoFind(address, countries interface{}) *gomock.Call

GeoFind indicates an expected call of GeoFind

type ServiceHandler

type ServiceHandler interface {
	GeoFind(address string, countries []string) (bool, error)
}

ServiceHandler is interface for service handle

func NewServiceHandler

func NewServiceHandler(geodb string) ServiceHandler

NewServiceHandler return ServiceHandler interface

Jump to

Keyboard shortcuts

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