scenarios

package
v1.0.1-0...-9b55815 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 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