Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server ServerConfig Service ServiceConfig DB DBConfig }
type IConfig ¶
type IConfig interface { Server() ServerConfig Service() ServiceConfig DB() DBConfig }
var GlobalConfig IConfig
func BuildConfig ¶
func BuildConfig() IConfig
type IMysqlInstance ¶
func ConnectMysql ¶
func ConnectMysql(cfg MysqlConfig) (IMysqlInstance, error)
type MysqlConfig ¶
type ServerConfig ¶
type ServiceConfig ¶
Click to show internal directories.
Click to hide internal directories.