cmd

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: AGPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientSemVer added in v0.1.2

func ClientSemVer() (string, string)

ClientSemVer - returns the full semVer as the first string and the numerical portion as the second string, they may be identical. One example where they would not be is:

semVer: v0.1.1-cacert -> (v0.1.1-cacert, v0.1.1).

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 AuthError

type AuthError struct {
}

AuthError - Variables to extract on a resty auth error

type AuthSuccess

type AuthSuccess struct {
}

AuthSuccess - Varibles to extract on a resty auth success

type SessionData

type SessionData struct {
	SessionID  string `json:"session_id"`
	ValidUntil string `json:"valid_until"`
}

SessionData - Session Authorization Info

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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