MCPcopy Create free account
hub / github.com/convox/rack / init

Function init

pkg/cli/proxy.go:15–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13)
14
15func init() {
16 register("proxy", "proxy a connection inside the rack", Proxy, stdcli.CommandOptions{
17 Flags: []stdcli.Flag{
18 flagRack,
19 stdcli.BoolFlag("tls", "t", "wrap connection in tls"),
20 },
21 Usage: "<[port:]host:hostport> [[port:]host:hostport]...",
22 Validate: stdcli.ArgsMin(1),
23 })
24}
25
26// var ProxyCloser = make(chan error)
27

Callers

nothing calls this directly

Calls 1

registerFunction · 0.85

Tested by

no test coverage detected