package
Version:
v0.7.3
Opens a new window with list of versions in this module.
Published: Jul 13, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewLocateServer creates an httptest.Server that can respond to Locate API v2
requests. Useful for unit testing.
Locator is a fake Locator interface that returns the configured Servers or Err.
Nearest returns the pre-configured Locator Servers or Err.
Signer implements the Signer interface for unit tests.
Sign creates a fake signature using the given claims.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.