Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type URLClient ¶
type URLClient interface { // Prefix returns the URLClient base path (or root) of a service. // This is the common root of all REST calls to the service, // and is defined on a per service (rather than per endpoint) basis. // Prefix returns the root URLClient for REST calls to the service if it was able to retrieve that URLClient; // it returns an error otherwise. Prefix() (string, error) }
URLClient is the interface for types that need to define some way to retrieve URLClient information about services. This information can be anything that must be determined at runtime, whether it is unknown or simply not yet known.
Click to show internal directories.
Click to hide internal directories.