Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BRANCH = "main"
View Source
var COMMIT = "dirty"
View Source
var NAME = "prom-am-operator"
View Source
var SUMMARY = "0.1.0-main"
View Source
var VERSION = "0.1.0"
Functions ¶
func GetSubcommands ¶
func RegisterSubcommand ¶
Types ¶
type AppVersionInfo ¶
type AppVersionInfo struct {
Name string
Version string
Branch string
Summary string
Commit string
}
AppVersionInfo --
var AppVersion AppVersionInfo
AppVersion --
type ContextKey ¶
type ContextKey string
const ContextKeyDb ContextKey = "db"
ContextKeyDb is used to set context value for db
const ContextKeyNode ContextKey = "node"
ContextKeyNode is used to set context value for node/snowflake
const ContextKeyWebsocket ContextKey = "websocket"
ContextKeyWebsocket is used to set context value for passing websocket
const ContextReqIDKey ContextKey = "reqid"
Common Constants, mostly for annotations
Click to show internal directories.
Click to hide internal directories.