args

package
v0.0.0-...-843624c Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitArgs

func InitArgs()

Types

type TArgs

type TArgs struct {
	// for server
	RunAsServer bool   // -s
	BindAddress string // -b
	ConfPath    string // -c
	DataPath    string // -d
	// for client
	ServerAddress string // -u
	ClientId      int64  // -i
	// for both
	LogsPath  string // -l
	Token     string // -t
	DebugMode bool   // -v
}
var (
	Args TArgs
)

Jump to

Keyboard shortcuts

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