Documentation ¶
Index ¶
- func Init()
- type Manager
- type Storage
- func (s *Storage) GetDB(readOnly ...bool) *gorm.DB
- func (s *Storage) GetESv6() *es6.Client
- func (s *Storage) GetESv7() *es7.Client
- func (s *Storage) GetRedis(key interface{}) redis.Cmdable
- func (s *Storage) GetRedisz() []redis.Cmdable
- func (s *Storage) InitDB(configs []storage.Config, opts ...storage.SQLOption) error
- func (s *Storage) InitElasticSearch(config storage.Config, opts ...storage.ElasticOption) error
- func (s *Storage) InitRedis(configs []storage.Config, opts ...storage.RedisOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.