Documentation ¶
Index ¶
- func InitDB(conf *MysqlConf) (sqlbuilder.Database, error)
- func InitEtcd(conf *EtcdConf) (*clientv3.Client, error)
- func InitLog(path string) (*log.Logger, error)
- func InitMC(addr []string) *memcache.Client
- func InitMongo(conf *MongoConf) (*mongo.Client, error)
- func InitRedis(conf *RedisConf) redis.Cmdable
- type Conf
- type EtcdConf
- type KafkaConf
- type LogConf
- type MCConf
- type MongoConf
- type MysqlConf
- type RedisConf
- type SvcConf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Conf ¶
Click to show internal directories.
Click to hide internal directories.