cli

package
v0.0.0-...-57e9fdd Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package cli implements command line arguments. It will also raise errors when user provide incorrect arguments.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Daemon   bool
	Port     int
	CertFile string
	KeyFile  string
	CaCert   string
	DbPath   string
}

func Parse

func Parse() Args

Parse arguments from command line and raise error if necessary.

Jump to

Keyboard shortcuts

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