Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddServiceCommand ¶ added in v0.2.2
AddServiceCommand Allows to add new services to existing configuration file Usage: `ergo add service servicehost:port`
type Command ¶ added in v0.2.2
Command is the interface for a command in ergo returns a string with the result of the execution or a error
type ListCommand ¶ added in v0.2.2
type ListCommand struct{}
ListCommand lists all configured apps local url and its original urls. Usage: `ergo list`
type ListNameCommand ¶ added in v0.2.2
type ListNameCommand struct{}
ListNameCommand lists all configured apps names and its urls. Usage: `ergo list-names`
type RemoveServiceCommand ¶ added in v0.2.2
type RemoveServiceCommand struct {
SearchTerm string
}
RemoveServiceCommand removes a service from the configuration and tells the proxy to remove it from the config file. USAGE: ergo remove myservicename
type RunCommand ¶ added in v0.2.2
type RunCommand struct{}
RunCommand starts the ergo proxy server.
Usage: `ergo run`
type SetupCommand ¶ added in v0.2.2
SetupCommand tries set ergo as the proxy on networking settings. For now, this feature is only supported for:
- OSX
- Linux-gnome
- Windows
Usage:
`ergo setup osx`
type URLCommand ¶ added in v0.2.2
type URLCommand struct {
FilterName string
}
URLCommand find and print the url for a given app name. Usage: `ergo url foo`