geohandler

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 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

type GeoHandler interface {
	FindCountry(address string) (string, error)
}

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

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

Jump to

Keyboard shortcuts

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