cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ErrGrpcBadStatus is the error returned when a non serving status is returend by a grpc service
	ErrGrpcBadStatus = errors.New("grpc status: not ok")
	// ErrGrpcConnFailure is the error returned when the grpc dial fails to connect to the specified host
	ErrGrpcConnFailure = errors.New("grpc conn: failure")
	// ErrHTTPBadStatus is the error returned when a non ok status is returned by a http service
	ErrHTTPBadStatus = errors.New("http status: not ok")
	// ErrHTTPGet is the errro returned when an http client encounters an error while performing a GET
	ErrHTTPGet = errors.New("http client: get")
)

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