Documentation ¶
Index ¶
- Variables
- func Boot()
- func HttpServe() error
- func InitDb(dbDsn string, maxOpenConn, maxIdleConn int)
- func InitEs(url string)
- func InitLevelDb(path string)
- func InitLog(filepath string)
- func InitMongo(addr string)
- func InitRedis(addr, pass string, rdb int)
- func RunGrpcServer() error
- func WebsocketServer() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RootDir string MysqlDbDsn string MaxOpenConn int MaxIdleConn int RedisAddr string RedisPassword string RedisDb int MongoAddr string LeveldbPath string LoggerPath string EsUrl string )
View Source
var DefaultWriter io.Writer = os.Stdout
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.