config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
               _
              | |
  ___    ___  | |__     ___
 / _ \  / __| | '_ \   / _ \
|  __/ | (__  | | | | | (_) |
 \___|  \___| |_| |_|  \___/
                       ` + version
View Source
var ErrNoAddr = errors.New("server address is not defined")

Functions

This section is empty.

Types

type Options

type Options struct {
	Addr     string
	NoBanner bool
	Verbose  bool
	ShowHelp bool
}

func Configure

func Configure(fs *flag.FlagSet, args []string) *Options

Configure sets options for the server.

Jump to

Keyboard shortcuts

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