cmd

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package cmd is an example app

Package cmd is an example app

Package cmd is an example app

Package cmd is an example app

Index

Constants

This section is empty.

Variables

View Source
var ApplicationId string

ApplicationId is the app that the key is issued for

View Source
var Brand string

Brand name to say who the message is from

View Source
var Code string

Code supplied by the user

View Source
var From string

From sets who the sender should be (restrictions vary by geography/carrier)

Key is the user's API key

View Source
var Message string

Message to send

View Source
var Number string

Number is the phone number to confirm ownership of or access to, in E.164 format

View Source
var PrivateKeyFile string

PrivateKeyFile is a path to the private key **TODO** What about env var support?

View Source
var RequestId string

RequestId identifies the verify request once it has been created

View Source
var Secret string

Secret is the user's API secret

To sets who to send the message to

View Source
var Ttl int

TTL is the validity period of the generated token, in minutes

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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