Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Localhost default localhost Localhost = "127.0.0.1" // CassandraSeeds env CassandraSeeds = "CASSANDRA_SEEDS" // CassandraPort env CassandraPort = "CASSANDRA_DB_PORT" // CassandraDefaultPort Cassandra default port CassandraDefaultPort = "9042" // CassandraProtoVersion env CassandraProtoVersion = "CASSANDRA_PROTO_VERSION" // CassandraDefaultProtoVersion Cassandra default protocol version CassandraDefaultProtoVersion = "4" // CassandraDefaultProtoVersionInteger Cassandra default protocol version int version CassandraDefaultProtoVersionInteger = 4 // MySQLSeeds env MySQLSeeds = "MYSQL_SEEDS" // MySQLPort env MySQLPort = "MYSQL_PORT" // MySQLDefaultPort MySQL default port MySQLDefaultPort = "3306" // KafkaSeeds env KafkaSeeds = "KAFKA_SEEDS" // KafkaPort env KafkaPort = "KAFKA_PORT" // KafkaDefaultPort Kafka default port KafkaDefaultPort = "9092" // ESSeeds env ESSeeds = "ES_SEEDS" // ESPort env ESPort = "ES_PORT" // ESDefaultPort ES default port ESDefaultPort = "9200" // ESVersion is the ElasticSearch version ESVersion = "ES_VERSION" // ESDefaultVersion is the default version ESDefaultVersion = "v6" // PostgresSeeds env PostgresSeeds = "POSTGRES_SEEDS" // PostgresPort env PostgresPort = "POSTGRES_PORT" // PostgresDefaultPort Postgres default port PostgresDefaultPort = "5432" )
Variables ¶
This section is empty.
Functions ¶
func GetCassandraAddress ¶
func GetCassandraAddress() string
GetCassandraAddress return the cassandra address
func GetCassandraProtoVersion ¶ added in v0.22.0
func GetCassandraProtoVersion() int
GetCassandraProtoVersion return the cassandra protocol version
func GetESVersion ¶ added in v0.17.0
func GetESVersion() string
GetESVersion return the ElasticSearch version
func GetPostgresAddress ¶ added in v0.11.0
func GetPostgresAddress() string
GetPostgresAddress return the Postgres address
func GetPostgresPort ¶ added in v0.11.0
func GetPostgresPort() int
GetPostgresPort return the Postgres port
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.