proxy

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RuntimeClis = map[string][]string{
	"udb":   {"mycli", "mysql"},
	"mysql": {"mycli", "mysql"},
	"redis": {"iredis", "memurai-cli", "redis-cli"},
	"mongo": {"mongo"},
}

Functions

func GetCli added in v1.0.0

func GetCli(p *ProxyInfo, lookPath bool) ([]string, error)

func RunProxy

func RunProxy(p *ProxyInfo) error

func RunShellProxy

func RunShellProxy(p *ProxyInfo, started, term chan bool) error

Types

type ProxyInfo

type ProxyInfo struct {
	AppID        string
	ClusterId    int
	Name         string
	Runtime      string
	AuthUser     string
	AuthPassword string
	LocalPort    string
}

Jump to

Keyboard shortcuts

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