commands

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddService added in v0.2.0

func AddService(config *proxy.Config, service proxy.Service, configFile string)

AddService Allows to add new services to existing configuration file Usage: `ergo add service servicehost:port`

func InetRefresh added in v0.2.0

func InetRefresh()

InetRefresh is just a dummy. It only has functionality in Windows

func List

func List(config *proxy.Config)

List command lists all configured apps local url and its original urls. Usage: `ergo list`

func ListNames added in v0.1.3

func ListNames(config *proxy.Config)

ListNames command lists all configured apps names and its urls. Usage: `ergo list-names`

func Run

func Run(config *proxy.Config)

Run command starts the ergo proxy server.

Usage: `ergo run`

func Setup added in v0.1.7

func Setup(system string, remove bool, config *proxy.Config)

Setup command 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`

func ShowInternetOptions added in v0.2.0

func ShowInternetOptions()

ShowInternetOptions is just a dummy for now this is only used for Windows

func URL added in v0.2.0

func URL(name string, config *proxy.Config)

URL command find and print the url for a given app name. Usage: `ergo url foo`

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL