Documentation
¶
Overview ¶
Package cmd is used for Cobra and Viper integration.
0.4.4 Created by senzing-factory/github-action-make-go-github-file.yaml on Fri Nov 22 16:21:44 UTC 2024
Index ¶
Constants ¶
View Source
const ( Short string = "HTTP/gRPC server supporting various services" Use string = "playground" Long string = `` /* 133-byte string literal not displayed */ )
View Source
const SenzingToolsDatabaseURL = "sqlite3://na:na@/tmp/sqlite/G2C.db"
Variables ¶
View Source
var ContextVariables = append(ContextVariablesForMultiPlatform, ContextVariablesForOsArch...)
View Source
var ContextVariablesForMultiPlatform = []option.ContextVariable{ isInDevelopment, option.AvoidServe, option.Configuration, option.DatabaseURL, option.EngineInstanceName, option.EngineLogLevel, option.EngineSettings, 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.
Click to show internal directories.
Click to hide internal directories.