package general

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

general provides a client for calling operational endpoints that are present on all service APIs.

Index

Types

type GeneralClient

type GeneralClient interface {
	// FetchConfiguration obtains configuration information from the target service.
	FetchConfiguration(ctx context.Context) (string, error)
	// FetchMetrics obtains metrics information from the target service.
	FetchMetrics(ctx context.Context) (string, error)
}

func NewGeneralClient

func NewGeneralClient(urlClient interfaces.URLClient) GeneralClient

NewGeneralClient creates an instance of GeneralClient

Source Files

client.go

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

Tools for package owners.