commands

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Server ...
	Server = &cobra.Command{
		Use:   "server",
		Short: fmt.Sprintf(version.ShortVersionBanner, ""),
		Run: func(cmd *cobra.Command, args []string) {

			fmt.Printf(version.ShortVersionBanner, "")
			app := BuildContainer(fx.Invoke(func(_ *logging.Logging,
				_ *client.Client,
				_ *tcpproxy.TcpProxy) {
			}))

			Start(app)

			Work()

			Stop(app)
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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