Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultTestAppOptions ¶
func GetDefaultTestAppOptions(homePath string, customFlags map[string]interface{}) servertypes.AppOptions
GetDefaultTestAppOptions returns a default set of AppOptions with the daemons disabled for end-to-end and simulator testing.
func GetDefaultTestAppOptionsFromTempDirectory ¶
func GetDefaultTestAppOptionsFromTempDirectory( homePath string, customFlags map[string]interface{}, ) servertypes.AppOptions
Types ¶
type FakeAppOptions ¶
type FakeAppOptions struct {
// contains filtered or unexported fields
}
FakeAppOptions is a helper struct used for creating `servertypes.AppOptions` for simulator and end-to-end testing. This struct allows for customizing the `servertypes.AppOptions` value that is normally supplied from CLI arguments to `dydxprotocold`. The real concrete implementation for this interface is in the "viper" package which is used under the hood by "cobra", which is the CLI framework used by Cosmos SDK.
func NewFakeAppOptions ¶
func NewFakeAppOptions() *FakeAppOptions
func (*FakeAppOptions) Get ¶
func (fao *FakeAppOptions) Get(o string) interface{}
Get implements the `servertypes.AppOptions` interface.
func (*FakeAppOptions) Set ¶
func (fao *FakeAppOptions) Set(option string, value interface{})
Click to show internal directories.
Click to hide internal directories.