Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultValueSignal = "d" EmptyLine = "" Positive = "yes" Negative = "no" Separator = "," )
View Source
const ( ClearData = "ClearData" IsBp = "IsBp" YesOrNo = "YesOrNo" NodeName = "NodeName" ChainId = "ChainId" BpName = "BpName" PriKey = "PriKey" SeedList = "SeedList" LogLevel = "LogLevel" DataDir = "DataDir" StartNode = "StartNode" )
read type
Variables ¶
View Source
var ( InitNewConfig = true NodeIsBp = false StartNodeNow = false ClearLocalData = false )
Functions ¶
func ReadCmdLine ¶
Types ¶
type ReadInfoStruct ¶
type ReadInfoStruct struct {
// contains filtered or unexported fields
}
type SetupAdmin ¶
type SetupAdmin struct {
// contains filtered or unexported fields
}
func (*SetupAdmin) Cfg ¶
func (admin *SetupAdmin) Cfg() node.Config
func (*SetupAdmin) Init ¶
func (admin *SetupAdmin) Init()
func (*SetupAdmin) ReadAndProcess ¶
func (admin *SetupAdmin) ReadAndProcess(readType, displayInfo string)
func (*SetupAdmin) ReadAndValidate ¶
func (admin *SetupAdmin) ReadAndValidate(readType, displayInfo string) (readContent string)
func (*SetupAdmin) WriteConfig ¶
func (admin *SetupAdmin) WriteConfig() error
Click to show internal directories.
Click to hide internal directories.