Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GcsAdapter ¶
type GcsAdapter struct {
// contains filtered or unexported fields
}
func (*GcsAdapter) AddPostID ¶
func (s *GcsAdapter) AddPostID(id string)
func (*GcsAdapter) IsPostIDExists ¶
func (s *GcsAdapter) IsPostIDExists(id string) bool
type PostStorer ¶
PostStorer to store posts
func NewGcsAdapter ¶
func NewGcsAdapter(bucketName string) PostStorer
func NewRedisAdapter ¶
func NewRedisAdapter(addr string) PostStorer
type RedisAdapter ¶
type RedisAdapter struct {
// contains filtered or unexported fields
}
func (*RedisAdapter) AddPostID ¶
func (s *RedisAdapter) AddPostID(id string)
func (*RedisAdapter) IsPostIDExists ¶
func (s *RedisAdapter) IsPostIDExists(id string) bool
Click to show internal directories.
Click to hide internal directories.