urlclient

package
v0.1.46 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalClient added in v0.1.46

func NewLocalClient(urlStreamResult interfaces.URLStream) *localClient

NewLocalClient returns a pointer to a localClient.

func NewRegistryClient added in v0.1.46

func NewRegistryClient(
	urlStream chan interfaces.URLStream,
	strategy urlClientInterfaces.RetryStrategy) *registryClient

NewRegistryClient returns a pointer to a registryClient. A pointer is used so that when using configuration from a registry, the Prefix can be updated asynchronously.

Types

This section is empty.

Directories

Path Synopsis
errors defines a set of errors that urlclient will use.
errors defines a set of errors that urlclient will use.
interfaces defines contracts specific to the urlclient package
interfaces defines contracts specific to the urlclient package
retry
once
once is designed to poll for the data one time.
once is designed to poll for the data one time.
periodic
periodic is designed to poll for the data on a regular frequency until the timeout happens.
periodic is designed to poll for the data on a regular frequency until the timeout happens.

Jump to

Keyboard shortcuts

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