Documentation
¶
Index ¶
- func GetCacheMemory() *cache.Cache
- func GetDB() *sqlx.DB
- func GetGDB() *gorm.DB
- func GetKafkaCom() sarama.ConsumerGroup
- func GetKafkaPrd() sarama.SyncProducer
- func GetMgoDb() *mongo.Database
- func GetRabbitMQChn() *amqp.Channel
- func GetRedisClient() *redis.Client
- func GetSDb() *sqlx.DB
- type BaseModel
- type Data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCacheMemory ¶
func GetKafkaCom ¶
func GetKafkaCom() sarama.ConsumerGroup
func GetKafkaPrd ¶
func GetKafkaPrd() sarama.SyncProducer
func GetRabbitMQChn ¶
func GetRedisClient ¶
Types ¶
type BaseModel ¶
type BaseModel[T basemodel.BaseEntity] struct { }
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
func InitCompent ¶
func InitCompent(d *setting.Datasource) (*Data, func(), error)
Click to show internal directories.
Click to hide internal directories.