Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AtomicEncode ¶
AtomicEncode json encodes val to path+".atomic" then moves the path+".atomic" file to path
Types ¶
type Config ¶
type Config struct { DataDir string `json:"data_dir"` JWTPath string `json:"jwt_path"` ChainID uint64 `json:"chain_id"` GasCeil uint64 `json:"gas_ceil"` GenesisPath string `json:"genesis_path"` Verbosity uint64 `json:"verbosity"` // EndpointsReadyPath is the location to write the endpoint configuration file. // Note, this should be written atomically by writing the JSON, then moving // it to this path to avoid races. A helper AtomicEncode is provided for // golang clients. EndpointsReadyPath string `json:"endpoints_ready_path"` }
type TestParms ¶
type TestParms struct { // SkipTests is a map from test name to skip message. The skip message may // be arbitrary, but the test name should match the skipped test (either // base, or a sub-test) exactly. Precisely, the skip name must match rune for // rune starting with the first rune. If the skip name does not match all // runes, the first mismatched rune must be a '/'. SkipTests map[string]string `json:"skip_tests"` }
func (TestParms) SkipIfNecessary ¶
Click to show internal directories.
Click to hide internal directories.