interfaces

package
v0.1.105 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 0 Imported by: 17

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.

type URLStream added in v0.1.46

type URLStream string

Jump to

Keyboard shortcuts

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