Documentation ¶
Overview ¶
Package geohandler is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeoHandler ¶
ServiceHandler is interface for service handle
func NewGeoHandler ¶
func NewGeoHandler(dbfile string) GeoHandler
NewGeoHandler return ServiceHandler interface
type MockGeoHandler ¶
type MockGeoHandler struct {
// contains filtered or unexported fields
}
MockGeoHandler is a mock of GeoHandler interface
func NewMockGeoHandler ¶
func NewMockGeoHandler(ctrl *gomock.Controller) *MockGeoHandler
NewMockGeoHandler creates a new mock instance
func (*MockGeoHandler) EXPECT ¶
func (m *MockGeoHandler) EXPECT() *MockGeoHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGeoHandler) FindCountry ¶
func (m *MockGeoHandler) FindCountry(address string) (string, error)
FindCountry mocks base method
type MockGeoHandlerMockRecorder ¶
type MockGeoHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockGeoHandlerMockRecorder is the mock recorder for MockGeoHandler
func (*MockGeoHandlerMockRecorder) FindCountry ¶
func (mr *MockGeoHandlerMockRecorder) FindCountry(address interface{}) *gomock.Call
FindCountry indicates an expected call of FindCountry
Click to show internal directories.
Click to hide internal directories.