setting

package
v0.0.0-...-21bd515 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2017 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirGetter

type DirGetter interface {
	Getwd() (dir string, err error)
}

type Settings

type Settings struct {
	Port        int
	TargetURL   string
	DataDirPath string
}

Settings is application settings used to specify mock target and local file directories.

func Create

func Create() (Settings, error)

Create settings by using flags.

func (*Settings) CreateDir

func (s *Settings) CreateDir() error

CreateDir creates directory relativly to execution path.

Jump to

Keyboard shortcuts

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