flags

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EvmChainRPC string
	EvmChainID  *big.Int
)
View Source
var (
	ServerPort     string
	SslCertPath    string
	SslKeyPath     string
	TrustedProxies []string
)
View Source
var (
	InfluxdbHost       string
	InfluxdbToken      string
	InfluxdbAuthScheme string
	InfluxdbDB         string
)
View Source
var (
	KafkaHost   string
	KafkaPort   int
	KafkaUser   string
	KafkaPasswd string
)
View Source
var (
	MysqlHost   string
	MysqlPort   int
	MysqlUser   string
	MysqlPasswd string
	MysqlDB     string
)
View Source
var (
	RedisHost     string
	RedisPort     int
	RedisDb       int
	RedisUser     string
	RedisPasswd   string
	RedisPoolSize int
)
View Source
var (
	BotToken  string
	BotChatID string
)
View Source
var AuthFlags = []cli.Flag{
	&jwtSaltFlag,
}
View Source
var (
	BotKey string
)
View Source
var (
	DocsFlag = cli.BoolFlag{
		Name:        "docs",
		Usage:       "Show docs",
		EnvVars:     []string{"SHOW_DOCS"},
		Value:       false,
		Destination: &ShowDocs,
	}
)
View Source
var EvmChainFlags = []cli.Flag{
	&evmChainRpcFlag,
	&evmChainIDFlag,
}
View Source
var GinFlags = []cli.Flag{
	&portFlag,
	&sslCertFlag,
	&sslKeyFlag,
	&trustedProxiesFlag,
}
View Source
var InfluxdbFlags = []cli.Flag{
	&influxdbHostFlag,
	&influxdbTokenFlag,
	&influxdbAuthSchemeFlag,
	&influxdbDBFlag,
}
View Source
var (
	InternalApiToken string
)
View Source
var (
	InternalApiTokenFlag = cli.StringFlag{
		Name:        "internal.token",
		Usage:       "Internal API token",
		EnvVars:     []string{"INTERNAL_API_TOKEN"},
		Required:    true,
		Destination: &InternalApiToken,
	}
)
View Source
var JwtSalt string
View Source
var KafkaFlags = []cli.Flag{
	&kafkaHostFlag,
	&kafkaPortFlag,
	&kafkaUserFlag,
	&kafkaPasswdFlag,
}
View Source
var MysqlFlags = []cli.Flag{
	&mysqlHostFlag,
	&mysqlPortFlag,
	&mysqlUserFlag,
	&mysqlPasswdFlag,
	&mysqlDBFlag,
}
View Source
var RedisFlags = []cli.Flag{
	&redisHostFlag,
	&redisPortFlag,
	&redisDbFlag,
	&redisUserFlag,
	&redisPasswdFlag,
	&redisPoolSizeFlag,
}
View Source
var (
	ShowDocs bool
)
View Source
var TelegramFlags = []cli.Flag{
	&tgBotTokenFlag,
	&tgBotChatIDFlag,
}
View Source
var WecomFlags = []cli.Flag{
	&wecomBotKeyFlag,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL