cmd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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

type RegisterResponse

type RegisterResponse struct {
	Data struct {
		Email string `json:"email"`
	}
	Key   string `json:"key"`
	Org   string `jsong:"org"`
	Error string
}

RegisterResponse contains the result of user registration

type State

type State struct {
	ID string
}

State type

type StateListResponse

type StateListResponse struct {
	Data []State
}

StateListResponse holds list of states

type StateResponse

type StateResponse struct {
	Data struct {
		ID string `json:"id"`
	}
}

StateResponse holds the state response

Jump to

Keyboard shortcuts

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