Documentation ¶
Overview ¶
Package factory Code generated, DO NOT EDIT.
Package factory Code generated, DO NOT EDIT.
Index ¶
- type PersistenceFactory
- func (f *PersistenceFactory) AccountDAO() persistence.AccountDAO
- func (f *PersistenceFactory) ApplicationDAO() persistence.ApplicationDAO
- func (f *PersistenceFactory) EventBusDAO() persistence.EventBusDAO
- func (f *PersistenceFactory) EventTypeDAO() persistence.EventTypeDAO
- func (f *PersistenceFactory) PassportDAO() persistence.PassportDAO
- func (f *PersistenceFactory) PublicationDAO() persistence.PublicationDAO
- func (f *PersistenceFactory) SecretDAO() persistence.SecretDAO
- func (f *PersistenceFactory) SubscriptionDAO() persistence.SubscriptionDAO
- func (f *PersistenceFactory) TechRelationDAO() persistence.TechRelationDAO
- type RepoFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistenceFactory ¶
type PersistenceFactory struct {
// contains filtered or unexported fields
}
PersistenceFactory 存储层数据访问对象工厂
func DBPersistenceFactory ¶
func DBPersistenceFactory(conf config.Config) *PersistenceFactory
DBPersistenceFactory 构造 PersistenceFactory
func (*PersistenceFactory) AccountDAO ¶
func (f *PersistenceFactory) AccountDAO() persistence.AccountDAO
AccountDAO 获取 persistence.AccountDAO
func (*PersistenceFactory) ApplicationDAO ¶
func (f *PersistenceFactory) ApplicationDAO() persistence.ApplicationDAO
ApplicationDAO 获取 persistence.ApplicationDAO
func (*PersistenceFactory) EventBusDAO ¶
func (f *PersistenceFactory) EventBusDAO() persistence.EventBusDAO
EventBusDAO 获取 persistence.EventBusDAO
func (*PersistenceFactory) EventTypeDAO ¶
func (f *PersistenceFactory) EventTypeDAO() persistence.EventTypeDAO
EventTypeDAO 获取 persistence.EventTypeDAO
func (*PersistenceFactory) PassportDAO ¶
func (f *PersistenceFactory) PassportDAO() persistence.PassportDAO
PassportDAO 获取 persistence.PassportDAO
func (*PersistenceFactory) PublicationDAO ¶
func (f *PersistenceFactory) PublicationDAO() persistence.PublicationDAO
PublicationDAO 获取 persistence.PublicationDAO
func (*PersistenceFactory) SecretDAO ¶
func (f *PersistenceFactory) SecretDAO() persistence.SecretDAO
SecretDAO 获取 persistence.SecretDAO
func (*PersistenceFactory) SubscriptionDAO ¶
func (f *PersistenceFactory) SubscriptionDAO() persistence.SubscriptionDAO
SubscriptionDAO 获取 persistence.SubscriptionDAO
func (*PersistenceFactory) TechRelationDAO ¶
func (f *PersistenceFactory) TechRelationDAO() persistence.TechRelationDAO
TechRelationDAO 获取 persistence.TechRelationDAO
type RepoFactory ¶
type RepoFactory struct {
// contains filtered or unexported fields
}
RepoFactory 存储层数据访问对象工厂
func RepositoryFactory ¶
func RepositoryFactory(pF *PersistenceFactory) *RepoFactory
RepositoryFactory 构造 PersistenceFactory
func (*RepoFactory) AccountRepo ¶
func (f *RepoFactory) AccountRepo() repo.AccountRepository
func (*RepoFactory) ApplicationRepo ¶
func (f *RepoFactory) ApplicationRepo() repo.ApplicationRepository
func (*RepoFactory) EventRepo ¶
func (f *RepoFactory) EventRepo() repo.EventRepository
Click to show internal directories.
Click to hide internal directories.