Documentation ¶
Index ¶
- func CLanguage(client pb.ExecutorClient, cLanguageConfig config.CLanguage)
- func DBList()
- func GoJudge()
- func GoLanguage(client pb.ExecutorClient, goLanguageConfig config.GoLanguage)
- func Gorm() *gorm.DB
- func GormMysql() *gorm.DB
- func GormMysqlByConfig(m config.Mysql) *gorm.DB
- func GormPgSql() *gorm.DB
- func GormPgSqlByConfig(p config.Pgsql) *gorm.DB
- func InstallPlugin(Router *gin.Engine)
- func JavaLanguage(client pb.ExecutorClient, goLanguageConfig config.JavaLanguage)
- func NewOss() oss.OSS
- func PluginInit(group *gin.RouterGroup, Plugin ...plugin.Plugin)
- func Redis()
- func RegisterTables(db *gorm.DB)
- func Routers() *gin.Engine
- func Target()
- func Timer()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoLanguage ¶
func GoLanguage(client pb.ExecutorClient, goLanguageConfig config.GoLanguage)
func GormMysql ¶
GormMysql 初始化Mysql数据库 Author [piexlmax](https://github.com/piexlmax) Author [SliverHorn](https://github.com/SliverHorn)
func GormMysqlByConfig ¶
GormMysqlByConfig 初始化Mysql数据库用过传入配置
func GormPgSql ¶
GormPgSql 初始化 Postgresql 数据库 Author [piexlmax](https://github.com/piexlmax) Author [SliverHorn](https://github.com/SliverHorn)
func GormPgSqlByConfig ¶
GormPgSqlByConfig 初始化 Postgresql 数据库 通过参数
func InstallPlugin ¶
func JavaLanguage ¶
func JavaLanguage(client pb.ExecutorClient, goLanguageConfig config.JavaLanguage)
func PluginInit ¶
func PluginInit(group *gin.RouterGroup, Plugin ...plugin.Plugin)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.