Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EsConfig ¶
type EtcdConfig ¶
func (EtcdConfig) Address ¶
func (e EtcdConfig) Address() string
type KafkaConfig ¶
func (*KafkaConfig) Scan ¶
func (s *KafkaConfig) Scan(src interface{}) (err error)
type MongoConfig ¶
type MongoConfig struct { Uri string `mapstructure:"uri"` Database string `mapstructure:"database"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` Option *MongoOption }
func (*MongoConfig) Scan ¶
func (s *MongoConfig) Scan(src interface{}) (err error)
type MongoOption ¶
type PGConfig ¶
type RabbitMqConfig ¶
type RabbitMqConfig struct { Host string `mapstructure:"host"` Port int `mapstructure:"port"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` }
func (RabbitMqConfig) Dns ¶
func (r RabbitMqConfig) Dns() string
type RedisConfig ¶
type ServerConfig ¶
func (ServerConfig) Address ¶
func (s ServerConfig) Address() string
Click to show internal directories.
Click to hide internal directories.