Documentation ¶
Index ¶
- func NewCommentRepository(dao orm.Database) domain.CommentRepository
- func NewFeedRepository(dao orm.Database) domain.FeedRepository
- func NewFileRepository(dao orm.Database) domain.FileRepository
- func NewInteractionRepository(dao orm.Database, cache cache.RedisCache) domain.InteractionRepository
- func NewPostRankRepository(localCache cache.LocalCache, redisCache cache.RedisCache) domain2.RankRepository
- func NewPostRepository(dao orm.Database, redisCache cache.RedisCache) domain.PostRepository
- func NewRelationRepository(dao orm.Database) domain.RelationRepository
- func NewTagRepository(dao orm.Database) domain.TagRepository
- func NewTaskRepository(dao orm.Database) domain.TaskRepository
- func NewUserRepository(dao orm.Database, cache cache.RedisCache) domain.UserRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommentRepository ¶
func NewCommentRepository(dao orm.Database) domain.CommentRepository
func NewFeedRepository ¶
func NewFeedRepository(dao orm.Database) domain.FeedRepository
func NewFileRepository ¶
func NewFileRepository(dao orm.Database) domain.FileRepository
func NewInteractionRepository ¶
func NewInteractionRepository(dao orm.Database, cache cache.RedisCache) domain.InteractionRepository
func NewPostRankRepository ¶
func NewPostRankRepository(localCache cache.LocalCache, redisCache cache.RedisCache) domain2.RankRepository
func NewPostRepository ¶
func NewPostRepository(dao orm.Database, redisCache cache.RedisCache) domain.PostRepository
func NewRelationRepository ¶
func NewRelationRepository(dao orm.Database) domain.RelationRepository
func NewTagRepository ¶
func NewTagRepository(dao orm.Database) domain.TagRepository
func NewTaskRepository ¶
func NewTaskRepository(dao orm.Database) domain.TaskRepository
func NewUserRepository ¶
func NewUserRepository(dao orm.Database, cache cache.RedisCache) domain.UserRepository
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.