global

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.0.0"

Version is the built version of the executable

Functions

This section is empty.

Types

type Parameters

type Parameters struct {
	Token                string        `long:"token" env:"SPAN_API_TOKEN" description:"span API token"`
	OverrideEndpoint     string        `long:"endpoint" env:"SPAN_API_ENDPOINT" description:"span endpoint override"`
	MQTTOverrideEndpoint string        `long:"mqtt-endpoint" env:"SPAN_MQTT_ENDPOINT" description:"span MQTT endpoint override"`
	Timeout              time.Duration `long:"timeout" default:"15s" description:"timeout for operation"`
	Debug                bool          `long:"debug" description:"turn on debug output"`
}

Parameters is the global parameters for all the commands

var Options *Parameters

Options holds the global options

Jump to

Keyboard shortcuts

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