package interfaces

import "github.com/edgexfoundry/go-mod-core-contracts/clients/interfaces"

Index

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

type URLStream string

Source Files

url.go urlstream.go

Version
v0.1.149 (latest)
Published
Jan 19, 2021
Platform
linux/amd64
Last checked
5 days ago

Tools for package owners.