scenarios

package
v1.8.16 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildXray

func BuildXray() error

func CloseAllServers

func CloseAllServers(servers []*exec.Cmd)

func CloseServer

func CloseServer(server *exec.Cmd)

func GetSourcePath

func GetSourcePath() string

func InitializeServerConfig

func InitializeServerConfig(config *core.Config) (*exec.Cmd, error)

func InitializeServerConfigs

func InitializeServerConfigs(configs ...*core.Config) ([]*exec.Cmd, error)

func RunXrayProtobuf

func RunXrayProtobuf(config []byte) *exec.Cmd

func WaitConnAvailableWithTest

func WaitConnAvailableWithTest(t *testing.T, testFunc func() error) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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