data

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2023 License: MIT Imports: 18 Imported by: 0

README

Data

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is data providers.

Functions

func NewDataRepo

func NewDataRepo(l log.Logger, c *conf.Bootstrap) biz.DataRepo

func NewMessageRepo

func NewMessageRepo(d biz.DataRepo) biz.MessageRepo

func NewNotifyRobotRepo

func NewNotifyRobotRepo(db biz.DataRepo) biz.NotifyRobotRepo

func NewPluginsRepo

func NewPluginsRepo(d biz.DataRepo) biz.PluginsRepo

func NewSessionRepo

func NewSessionRepo(d biz.DataRepo) biz.SessionRepo

func NewSystemNotifyMessageRepo

func NewSystemNotifyMessageRepo(d biz.DataRepo) biz.SystemNotifyMessageRepo

func NewUsersSessionRepo

func NewUsersSessionRepo(d biz.DataRepo) biz.UsersSessionRepo

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

func (*Data) GetDB

func (d *Data) GetDB() *dao.DB

func (*Data) GetRedis

func (d *Data) GetRedis() *redis.Client

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL