Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultProfile = "conf.yaml"
View Source
const TempleteProfile = `` /* 477-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func NewConfigfile ¶
func NewConfigfile() *confile
Types ¶
type Confile ¶
type Confile interface { Parse(fpath string, port int) error GetRpcAddr() []string GetBootNodes() []string GetServicePort() int GetWorkspace() string GetMnemonic() string GetEarningsAcc() string GetUseSpace() uint64 GetStakingPublickey() []byte GetStakingAcc() string SetEarningsAcc(earnings string) error }
Click to show internal directories.
Click to hide internal directories.