cmd

package
v0.0.0-...-4d3f714 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Local = "127.0.0.1"

Local is a constant

Variables

This section is empty.

Functions

func Init

func Init() error

Init get config and parses those command

Types

type ConfigFromCmd

type ConfigFromCmd struct {
	ConfigFile        string
	Mode              string
	LocalServicePorts string
	PortsMap          map[string]string
}

ConfigFromCmd store cmd params

var Configs *ConfigFromCmd

Configs is a pointer of struct ConfigFromCmd

func (*ConfigFromCmd) GeneratePortsMap

func (c *ConfigFromCmd) GeneratePortsMap() error

GeneratePortsMap generates ports map

Jump to

Keyboard shortcuts

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