Documentation ¶
Index ¶
- type Arguments
- func (arguments *Arguments) AccountsConfigFilename() string
- func (arguments *Arguments) AppConfigFilename() string
- func (arguments *Arguments) CacheDirectoryPath() string
- func (arguments *Arguments) DevMode() bool
- func (arguments *Arguments) MainDirectoryPath() string
- func (arguments *Arguments) Multisig() bool
- func (arguments *Arguments) Regtest() bool
- func (arguments *Arguments) Testing() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct {
// contains filtered or unexported fields
}
Arguments models a configuration of the backend.
func NewArguments ¶
func NewArguments( mainDirectoryPath string, testing bool, regtest bool, multisig bool, devmode bool, ) *Arguments
NewArguments returns the given parameters as backend arguments.
func (*Arguments) AccountsConfigFilename ¶
AccountsConfigFilename returns the path to the accounts config file of the backend.
func (*Arguments) AppConfigFilename ¶
AppConfigFilename returns the path to the app config file of the backend.
func (*Arguments) CacheDirectoryPath ¶
CacheDirectoryPath returns the path to the cache directory of the backend to store caches. The above constructor ensures that the directory with the returned path exists.
func (*Arguments) MainDirectoryPath ¶
MainDirectoryPath returns the path to the main directory of the backend to store data. The above constructor ensures that the directory with the returned path exists.
Click to show internal directories.
Click to hide internal directories.