scenarios

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 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