Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Kafka options Kafka = iota KafkaBroker KafkaGroup KafkaVersion KafkaTopics // Postgres options Postgres PostgresHost PostgresPort PostgresUser PostgresDatabase PostgresPassword PostgresSSL // Mongodb options Mongo MongoHost MongoPort MongoDatabase MongoUser MongoPassword // RabbitMQ options RabbitMQ RabbitMQHost RabbitMQPort RabbitMQExchangeName RabbitMQQueueName RabbitMQExchangeRoutingKey RabbitMQQueueLength // Redis options Redis RedisHost RedisPort RedisPassword RedisDatabase // Service options ServicePort ServiceLogLevel // Connection Tolerance ServiceConnectionTolerance ConnectionTimeoutSec MaxRetries RetryIntervalSec )
Variables ¶
This section is empty.
Functions ¶
func CommonCliOptions ¶
func CommonCliOptions(options ...int) []cli.Flag
Types ¶
type ConnectionTolerance ¶
ConnectionTolerance ...
func (ConnectionTolerance) ParseCli ¶
func (ct ConnectionTolerance) ParseCli(ctx *cli.Context) ConnectionTolerance
func (ConnectionTolerance) Timeout ¶
func (ct ConnectionTolerance) Timeout() int
Click to show internal directories.
Click to hide internal directories.