Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DialTimeoutDefault is a default dial timeout of main chain client connection. DialTimeoutDefault = 5 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func DialTimeout ¶
DialTimeout returns value of "dial_timeout" config parameter from "mainchain" section.
Returns DialTimeoutDefault if value is not positive duration.
func RPCEndpoint ¶
RPCEndpoint returns list of values of "rpc_endpoint" config parameter from "mainchain" section.
Returns empty list if value is not a non-empty string array.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.