Help us shape the future of Go! Take the 2026 Go Developer Survey

commands

package
v1.3.97 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Overview

Package commands cmd/apps/vpn-server/commands/vpn-server.go c4-app-vpn

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:                   "vpn-server",
	Short:                 "skywire vpn server application",
	Long:                  calvin.AsciiFont("vpn-server"),
	SilenceErrors:         true,
	SilenceUsage:          true,
	DisableSuggestions:    true,
	DisableFlagsInUseLine: true,
	Version:               buildinfo.Version(),
	Run: func(_ *cobra.Command, args []string) {
		ctx := context.Background()
		if err := RunVPNServer(ctx, args); err != nil {
			log.Fatal(err)
		}
	},
}

RootCmd is the root command for skywire-cli

Functions

func Execute

func Execute()

Execute executes root CLI command.

func RunVPNServer

func RunVPNServer(ctx context.Context, args []string) error

RunVPNServer runs the VPN server app logic.

Types

This section is empty.

Jump to

Keyboard shortcuts

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