package uzsdk
import (
- "git.uzoombox.com/git/uzsdk/components/logger"
- "git.uzoombox.com/git/uzsdk/service/translations"
- "git.uzoombox.com/git/uzsdk/service/types"
+ "git.uzoombox.com/git/uzsdk/uzsdk/logger"
+ "git.uzoombox.com/git/uzsdk/uzsdk/translations"
"github.com/gin-gonic/gin"
"github.com/jmoiron/sqlx"
)
// Instance is the framework's instance, used for server & plugin both.
type Instance struct {
- Conf *types.Configuration // configuration of this application.
- Db *sqlx.DB // the first database connection created by main routine.
- Logger *logger.Logger // logger created by main routine.
- Router *gin.Engine // default webservice engine created by main routine.
- Maintenance bool // when maintenance mode is true, only serve api /config.
+ Conf *Configuration // configuration of this application.
+ Db *sqlx.DB // the first database connection created by main routine.
+ Logger *logger.Logger // logger created by main routine.
+ Router *gin.Engine // default webservice engine created by main routine.
+ Maintenance bool // when maintenance mode is true, only serve api /config.
}