cmd

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 5

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
	Role              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