config

package
v0.0.0-...-2d83bcd Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NullClient  = Client{}
	NullOptions = Options{}
)

Functions

func GenerateMarkdown

func GenerateMarkdown(filePath string) error

GenerateMarkdown creates a markdown file with documentation for the application

Types

type Client

type Client struct {
	Address string
	Port    int
	// contains filtered or unexported fields
}

Client struct

func NewClient

func NewClient(opts Options) (Client, error)

NewClient returns the Client or error

type Options

type Options struct {
	Version  string
	Revision string
	Created  string
	// DisableExitOnHelp configures if --help should exit or not, used with helpPrinter()
	DisableExitOnHelp bool
}

Options takes the build information and provides the CLI with correct information

Jump to

Keyboard shortcuts

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