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. |
Click to show internal directories.
Click to hide internal directories.