Documentation ¶
Index ¶
- Variables
- func NewAppRepo(conf *conf.Data, r registry.Discovery, logger log.Logger) biz.AppRepo
- func NewDatacenterRepo(conf *conf.Data, r registry.Discovery, logger log.Logger) biz.DatacenterRepo
- func NewDiscovery(sc []constant.ServerConfig, cc constant.ClientConfig) registry.Discovery
- func NewFormRepo(conf *conf.Data, r registry.Discovery, logger log.Logger) *formRepo
- func NewGoPushRepo(conf *conf.Data, r registry.Discovery, logger log.Logger) pushPb.PushHTTPClient
- func NewLockRepo(data *Data, logger log.Logger) biz.LockRepo
- func NewMysqlLcGo(c *conf.Data) *gorm.DB
- func NewOrgColumnsCache(data *Data, logger log.Logger) *orgColumnsCache
- func NewOrgColumnsRepo(data *Data, orgColumnsCache *orgColumnsCache, logger log.Logger) biz.OrgColumnsRepo
- func NewPermissionRepo(conf *conf.Data, r registry.Discovery, logger log.Logger) biz.PermissionRepo
- func NewPostgres(c *conf.Data) map[string]*gorm.DB
- func NewProjectRepo(conf *conf.Data, r registry.Discovery, logger log.Logger) biz.ProjectRepo
- func NewRedisCmd(conf *conf.Data, logger log.Logger) redis.Cmdable
- func NewRowRepo(data *Data, form *formRepo, logger log.Logger) biz.RowRepo
- func NewTableCache(data *Data, logger log.Logger) *tableCache
- func NewTableRepo(data *Data, tableCache *tableCache, logger log.Logger) biz.TableRepo
- func NewUserCenterRepo(conf *conf.Data, r registry.Discovery, logger log.Logger) biz.UserCenterRepo
- type Data
- type GormDBData
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewData, NewDiscovery, NewGormDBData, NewRedisCmd, NewLockRepo, NewTableRepo, NewRowRepo, NewTableCache, NewAppRepo, NewDatacenterRepo, NewUserCenterRepo, NewOrgColumnsRepo, NewOrgColumnsCache, NewPermissionRepo, NewGoPushRepo, NewFormRepo, NewProjectRepo, )
ProviderSet is data providers.
Functions ¶
func NewAppRepo ¶
func NewDatacenterRepo ¶
func NewDiscovery ¶
func NewDiscovery(sc []constant.ServerConfig, cc constant.ClientConfig) registry.Discovery
func NewFormRepo ¶
func NewGoPushRepo ¶
func NewOrgColumnsCache ¶
NewOrgColumnsCache .
func NewOrgColumnsRepo ¶
func NewOrgColumnsRepo(data *Data, orgColumnsCache *orgColumnsCache, logger log.Logger) biz.OrgColumnsRepo
NewOrgColumnsRepo .
func NewPermissionRepo ¶
func NewProjectRepo ¶
func NewRowRepo ¶
NewRowRepo .
func NewTableRepo ¶
NewTableRepo .
func NewUserCenterRepo ¶
Types ¶
type GormDBData ¶
type GormDBData struct {
// contains filtered or unexported fields
}
func NewGormDBData ¶
func NewGormDBData(c *conf.Data) *GormDBData
Source Files ¶
Click to show internal directories.
Click to hide internal directories.