cmd

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildClient string

BuildClient - holds the build info of Client

View Source
var BuildServer string

BuildServer - holds the build info of server

View Source
var CommitSHA string

CommitSHA - holds the Git-SHA info

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.

func StringWithCharset added in v0.3.10

func StringWithCharset(length int) string

StringWithCharset generates a random string with a given length

Types

type TerminalFormatter added in v0.3.8

type TerminalFormatter struct{}

TerminalFormatter is exported

func (*TerminalFormatter) Format added in v0.3.8

func (f *TerminalFormatter) Format(entry *log.Entry) ([]byte, error)

Format is exported

Jump to

Keyboard shortcuts

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