flags

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

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

Go to latest
Published: Feb 27, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package flags provides helper functions for accessing command line flags.

It also serves as a central point for creating new flags and providing helpers for interacting with the available information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugEnabled

func DebugEnabled() bool

DebugEnabled returns true if the debug flag has been invoked on the command line, otherwise false.

func GetLineOptionsGroups

func GetLineOptionsGroups() []swag.CommandLineOptionsGroup

GetLineOptionsGroups returns the CommandLineOptionsGroup structure that can be used to configure the command line flags for the rest server.

func GetLogFile

func GetLogFile() string

GetLogFile returns the log filename specified on the command line or an empty string in the case that no file is specified.

Types

This section is empty.

Jump to

Keyboard shortcuts

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