internal

package
v0.0.0-...-b19a438 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Tasks []Task

Functions

func HandleExecCommand

func HandleExecCommand(ctx tb.Context) error

func HandleHelp

func HandleHelp(ctx tb.Context) error

func HandleTasks

func HandleTasks(ctx tb.Context) error

func NewClientFromEnv

func NewClientFromEnv(proxyHost string) (*http.Client, error)

func NewConnectSettings

func NewConnectSettings(userId int64, socks5, token string) (tb.Settings, error)

func RunHandlers

func RunHandlers(settings tb.Settings) error

Types

type DialContext

type DialContext func(ctx context.Context, network, addr string) (net.Conn, error)

type Task

type Task struct {
	Pid     int
	CmdText string
	Cmd     *exec.Cmd
}

func (Task) String

func (t Task) String() string

Jump to

Keyboard shortcuts

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