app

package
v0.1.1-beta Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "app",
	Short: "Manage Bandwidth applications",
}

Cmd is the `band app` parent command.

Functions

func BuildCreateBody

func BuildCreateBody(opts CreateOpts) map[string]interface{}

BuildCreateBody builds the XML request body for creating an application.

func ValidateCreateOpts

func ValidateCreateOpts(opts CreateOpts) error

ValidateCreateOpts validates application creation options.

Types

type CreateOpts

type CreateOpts struct {
	Name        string
	Type        string // "voice" or "messaging"
	CallbackURL string
}

CreateOpts holds the parameters for creating an application.

Jump to

Keyboard shortcuts

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