Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLocateServer ¶
NewLocateServer creates an httptest.Server that can respond to Locate API v2 requests. Useful for unit testing.
func NewLocateServerV2 ¶ added in v0.11.0
NewLocateServerV2 creates an httptest.Server that can respond to Locate API V2 requests using a LocatorV2. Uselful for unit testing. TODO(cristinaleon): once the LocatorV2 replaces the Locator, leave only one implementation.
Types ¶
Click to show internal directories.
Click to hide internal directories.