cli

package
v0.0.0-...-6b2b62e Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package cli provides cli for flag.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RendezvousString   string
	BootstrapPeers     addrList
	ListenAddresses    addrList
	SSLCertIPAddresses ipList
	APIListenAddresses string
	ProtocolID         string
	IsBootstrap        bool
	PeerName           string
	JsonTracer         string
	IsDebug            bool
	ConfigDir          string
	DataDir            string
	IsPing             bool
	KeyStoreDir        string
	KeyStoreName       string
}
var Chestnut *Config

func GetConfig

func GetConfig() Config

func ParseFlags

func ParseFlags() (Config, error)

Jump to

Keyboard shortcuts

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