Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cli.Subcmd{ FlagSet: flag.NewFlagSet("init", flag.ExitOnError), Desc: "Generate ed25519 keypair and TLS cert/key", Run: func(fm fsdir.T) { initcmd.Cmd("wireleap-relay", initcmd.KeypairStep, initcmd.UnpackStep(embedded.FS)).Run(fm) privkey, err := cli.LoadKey(fm, filenames.Seed) if err != nil { log.Fatal(err) } if err := tlscert.Generate(fm.Path(filenames.TLSCert), fm.Path(filenames.TLSKey), privkey); err != nil { log.Fatal(err) } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.