cli

package
v0.0.0-...-135ad47 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {
	Host    string `yaml:"host"`
	Port    string `yaml:"port"`
	DBFile  string `yaml:"db-file"`
	Verbose bool   `yaml:"verbose"`
	// contains filtered or unexported fields
}

Flags represents the options to the server binary.

func GetFlags

func GetFlags() (*Flags, error)

GetFlags registers flags, and parses them.

Jump to

Keyboard shortcuts

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