Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: strings.TrimSuffix(filepath.Base(os.Args[0]), filepath.Ext(os.Args[0])), Short: "Dilithium Matrix Scaffolding", PersistentPreRun: func(_ *cobra.Command, _ []string) { if verbose { logrus.SetLevel(logrus.DebugLevel) } if doCpuProfile { cpuProfile = profile.Start(profile.CPUProfile) } if doMemoryProfile { memoryProfile = profile.Start(profile.MemProfile) } if doMutexProfile { mutexProfile = profile.Start(profile.MutexProfile) } }, PersistentPostRun: func(_ *cobra.Command, _ []string) { if cpuProfile != nil { cpuProfile.Stop() } if memoryProfile != nil { memoryProfile.Stop() } if mutexProfile != nil { mutexProfile.Stop() } }, }
View Source
var SelectedProtocol string
Functions ¶
This section is empty.
Types ¶
type ProtoProtocol ¶
type ProtoProtocol struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.