cli

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConsoleProxy = &ConsoleProxyObj{}

Functions

func RunEdgeTurn

func RunEdgeTurn(req *edgeproto.ExecRequest, options *ExecOptions, exchangeFunc func() (*edgeproto.ExecRequest, error)) error

Types

type ConsoleProxyObj

type ConsoleProxyObj struct {
	// contains filtered or unexported fields
}

func (*ConsoleProxyObj) Add

func (cp *ConsoleProxyObj) Add(token, port string)

func (*ConsoleProxyObj) Get

func (cp *ConsoleProxyObj) Get(token string) string

func (*ConsoleProxyObj) Remove

func (cp *ConsoleProxyObj) Remove(token string)

type ExecOptions

type ExecOptions struct {
	Stdin bool
	Tty   bool
}

type WSStreamPayload

type WSStreamPayload struct {
	Code int         `json:"code"`
	Data interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

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