Documentation
¶
Overview ¶
common use fot dna-tool
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefConfig = NewTestConfig()
Default config instance
Functions ¶
This section is empty.
Types ¶
type TestConfig ¶
type TestConfig struct {
//JsonRpcAddress of dna
JsonRpcAddress string
//RestfulAddress of dna
RestfulAddress string
//WebSocketAddress of dna
WebSocketAddress string
//Gas Price of transaction
GasPrice uint64
//Gas Limit of invoke transaction
GasLimit uint64
//Gas Limit of deploy transaction
GasDeployLimit uint64
}
Config object used by dna-instance
func (*TestConfig) Init ¶
func (this *TestConfig) Init(fileName string) error
Init TestConfig with a config file
Click to show internal directories.
Click to hide internal directories.