cmd

package
v0.0.0-...-3e21562 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidAccessTokenError  = errors.New("invalid AccessToken")
	InvalidClientIdError     = errors.New("invalid ClientID")
	InvalidClientSecretError = errors.New("invalid ClientSecret")
)
View Source
var (
	StateFilename = "apiconnstate.json"
)
View Source
var UTF8_BOM = []byte{0xEF, 0xBB, 0xBF}

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 Main

type Main struct {
}

func (*Main) Debugf

func (*Main) Debugf(format string, args ...interface{})

func (*Main) EnabledLoggingRequestBody

func (*Main) EnabledLoggingRequestBody() bool

func (*Main) EnabledLoggingResponseBody

func (*Main) EnabledLoggingResponseBody() bool

func (*Main) Errorf

func (*Main) Errorf(format string, args ...interface{})

func (*Main) Fail

func (*Main) Fail(apiConn *goboxer.APIConn, err error)

func (*Main) Fatalf

func (*Main) Fatalf(format string, args ...interface{})

func (*Main) Infof

func (*Main) Infof(format string, args ...interface{})

func (*Main) RequestDumpf

func (*Main) RequestDumpf(format string, args ...interface{})

func (*Main) ResponseDumpf

func (*Main) ResponseDumpf(format string, args ...interface{})

func (*Main) Success

func (*Main) Success(apiConn *goboxer.APIConn)

func (*Main) Warnf

func (*Main) Warnf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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