Documentation
¶
Index ¶
- type Config
- func (c Config) DetermineCodeDir() (codeDir string)
- func (c Config) GetArg(item string) string
- func (c Config) GetCodebase() string
- func (c Config) GetDBGpPort() int
- func (c Config) GetFlag(item string) bool
- func (c Config) GetHTTPPort() int
- func (c Config) GetRemoteCodebase() string
- func (c Config) GetUIPath() string
- func (c Config) GoSilent()
- func (c Config) GoVerbose()
- func (c Config) HasCmdLine() bool
- func (c Config) HasHTTP() bool
- func (c Config) IsVerbose() bool
- func (c Config) SetArg(item string, value string)
- func (c Config) SetFlag(item string)
- func (c Config) UnsetFlag(item string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
*
- The Config class stores command line arguments and flags.
func Get ¶
func Get() Config
*
- Prepares and returns the configuration object. *
- Attempts to implement the Singleton pattern i.e. it always returns a single
- instance of the configuration object.
func (Config) DetermineCodeDir ¶
*
- Determine the source code path returned by the DBGp engine. *
- When the DBGp engine and Footle are in different machines, source code paths
- returned by the DBGp engine will start with a path from that machine. This
- path is likely to be different from local paths seen by Footle.
func (Config) GetRemoteCodebase ¶
*
- Getter for remote path of source code to debug. *
- Only relevant when Footle and the DBGp engine are running in different
- machines. In this type of setups, the file paths returned by the DBGp engine
- will start with the remote path. *
- Example:
- Codebase in Footle's machine: /home/foo/bar/
- Codebase in DBGp engine's machine: /var/www/html/
- In this case /var/www/html/ is the remote codebase.
Click to show internal directories.
Click to hide internal directories.