client

package
v2.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// OverviewEndpoint path
	OverviewEndpoint = "/api/overview"
	// NodesEndpoint path
	NodesEndpoint = "/api/nodes"
	// QueuesEndpoint path
	QueuesEndpoint = "/api/queues"
	// ExchangesEndpoint path
	ExchangesEndpoint = "/api/exchanges"
	// VhostsEndpoint path
	VhostsEndpoint = "/api/vhosts"
	// ConnectionsEndpoint path
	ConnectionsEndpoint = "/api/connections"
	// BindingsEndpoint path
	BindingsEndpoint = "/api/bindings"
	// AlivenessTestEndpoint path, this is formatted with the vhost name
	AlivenessTestEndpoint = "/api/aliveness-test/%s"
	// HealthCheckEndpoint path, this is formatted with the node name
	HealthCheckEndpoint = "/api/healthchecks/node/%s"
)

Variables

This section is empty.

Functions

func CollectEndpoint

func CollectEndpoint(endpoint string, result interface{}) error

CollectEndpoint calls the endpoint and populates its response into result

Types

This section is empty.

Jump to

Keyboard shortcuts

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