fakes

package
v0.0.0-...-5b51137 Latest Latest
Warning

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

Go to latest
Published: May 7, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAddressService

type FakeAddressService struct {
	FindCalled  bool
	FindFound   bool
	FindAddress address.Address
	FindErr     error

	FindByIPCalled  bool
	FindByIPFound   bool
	FindByIPAddress address.Address
	FindByIPErr     error
}

func (*FakeAddressService) Find

func (n *FakeAddressService) Find(id string, region string) (address.Address, bool, error)

func (*FakeAddressService) FindByIP

func (n *FakeAddressService) FindByIP(ipAddress string) (address.Address, bool, error)

Jump to

Keyboard shortcuts

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