sub

package
v0.53.9 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func ExecuteClient

func ExecuteClient()

func NewAdminCommand

func NewAdminCommand(name, short string, handler func(*v1.ClientCommonConfig) error) *cobra.Command

func NewProxyCommand

func NewProxyCommand(name string, c v1.ProxyConfigurer, clientCfg *v1.ClientCommonConfig) *cobra.Command

func NewVisitorCommand

func NewVisitorCommand(name string, c v1.VisitorConfigurer, clientCfg *v1.ClientCommonConfig) *cobra.Command

func ReloadHandler

func ReloadHandler(clientCfg *v1.ClientCommonConfig) error

func RunClient

func RunClient(cfgFilePath string) (*client.Service, error)

func StartService added in v0.53.7

func StartService(
	cfg *v1.ClientCommonConfig,
	proxyCfgs []v1.ProxyConfigurer,
	visitorCfgs []v1.VisitorConfigurer,
	cfgFile string,
	wg *sync.WaitGroup,
) (*client.Service, error)

func StatusHandler

func StatusHandler(clientCfg *v1.ClientCommonConfig) error

func StopHandler

func StopHandler(clientCfg *v1.ClientCommonConfig) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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