cmd

package
v0.0.0-...-c182ff6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2018 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &RootCommand{}

Functions

func UsageTemplate

func UsageTemplate() string

Types

type Args

type Args struct {
	PidFile  string
	LogFile  string
	LogLevel string
	Version  bool
	SockFile string
	Port     int
	Host     string
	Conf     string
	Secret   string
	Daemon   bool

	TLS     TLS
	Storage Storage
}

type RootCommand

type RootCommand struct {
	Args  Args
	Cmd   *cobra.Command
	Viper *viper.Viper
}

type Storage

type Storage struct {
	Driver string
	Opts   string
}

type TLS

type TLS struct {
	Key  string
	Cert string
}

Jump to

Keyboard shortcuts

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