Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCacheIsNotSet = errors.New("cache is not set")
)
Functions ¶
This section is empty.
Types ¶
type InMemoryPostsLimit ¶
type InMemoryPostsLimit int
type InmemoryPostRepository ¶
type PostRepository ¶
type PostRepository struct {
// contains filtered or unexported fields
}
func NewCacheablePostRepository ¶
func NewCacheablePostRepository( inmemory InmemoryPostRepository, persistent PersistentPostRepository, publisher Publisher, inMemoryLimit InMemoryPostsLimit, ) *PostRepository
func (PostRepository) CreatePost ¶
Click to show internal directories.
Click to hide internal directories.