cmd

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: ISC Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute is the main entrypoint into the sensorpush-proxy CLI.

func SetVars added in v0.1.0

func SetVars(versionX string, commitX string, dateX string)

Types

type RootConfig added in v0.1.0

type RootConfig struct {
	SensorPush struct {
		// in case we want to add more SensorPush config?
		SensorPushAuth `mapstructure:",squash"`
	}
}

RootConfig is the root-level only config (common for all subcommands)

type SensorPushAuth

type SensorPushAuth struct {
	Username string `asp:"username,,,password for SensorPush"`
	Password string `asp:"password,,,username for SensorPush"`
}

SensorPushAuth is the authentication information needed for SensorPush.

Jump to

Keyboard shortcuts

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