Documentation ¶ Index ¶ type Instance func New(ginInstance *gin.Engine, gormInstance *gorm.DB, redigoPool *redis.Pool, ...) *Instance func (instance *Instance) GetConfig() *cfg.Config func (instance *Instance) GetDB() *gorm.DB func (instance *Instance) GetGin() *gin.Engine func (instance *Instance) GetRedis() *redis.Pool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Instance ¶ type Instance struct { // contains filtered or unexported fields } func New ¶ func New(ginInstance *gin.Engine, gormInstance *gorm.DB, redigoPool *redis.Pool, config *cfg.Config) *Instance func (*Instance) GetConfig ¶ func (instance *Instance) GetConfig() *cfg.Config func (*Instance) GetDB ¶ func (instance *Instance) GetDB() *gorm.DB func (*Instance) GetGin ¶ func (instance *Instance) GetGin() *gin.Engine func (*Instance) GetRedis ¶ func (instance *Instance) GetRedis() *redis.Pool Source Files ¶ View all Source files instance.go Click to show internal directories. Click to hide internal directories.