Documentation ¶
Overview ¶
The cmd package is used for Cobra integration.
0.0.5 Created by make-go-github-file.yaml on Thu Feb 8 02:41:05 UTC 2024
Index ¶
Constants ¶
View Source
const ( Short string = "HTTP/gRPC server supporting various services" Use string = "demo-quickstart" Long string = `` /* 130-byte string literal not displayed */ )
View Source
const SENZING_TOOLS_DATABASE_URL = "sqlite3://na:na@/tmp/sqlite/G2C.db"
Variables ¶
View Source
var ContextVariables = append(ContextVariablesForMultiPlatform, ContextVariablesForOsArch...)
View Source
var ContextVariablesForMultiPlatform = []option.ContextVariable{ option.Configuration, option.DatabaseUrl, option.EngineConfigurationJson, option.EngineLogLevel, option.EngineModuleName, option.GrpcPort, option.HttpPort, option.LogLevel, option.ObserverOrigin, option.ObserverUrl, option.ServerAddress, option.TtyOnly, option.XtermAllowedHostnames.SetDefault(getDefaultAllowedHostnames()), option.XtermArguments, option.XtermCommand, option.XtermConnectionErrorLimit, option.XtermKeepalivePingTimeout, option.XtermMaxBufferSizeBytes, }
View Source
var ContextVariablesForOsArch = []option.ContextVariable{}
View Source
var RootCmd = &cobra.Command{ Use: Use, Short: Short, Long: Long, PreRun: PreRun, RunE: RunE, Version: Version(), }
RootCmd represents the command.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the RootCmd.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.