Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OsArch = "" GitCommit = "" BuildTime = "" Branch = "" Version = "latest" )
--ldflags -X
View Source
var RootCmd = &cobra.Command{
Use: "kubevpn",
Short: "kubevpn",
Long: `kubevpn`,
}
View Source
var ServerCmd = &cobra.Command{ Use: "serve", Short: "serve", Long: `serve`, PreRun: func(*cobra.Command, []string) { util.InitLogger(config.Debug) go func() { log.Info(http.ListenAndServe("localhost:6060", nil)) }() }, Run: func(cmd *cobra.Command, args []string) { err := handler.Start(context.TODO(), route) if err != nil { log.Fatal(err) } select {} }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.