Documentation
¶
Overview ¶
The store pkg is responsible for coordinating bucket transfer between the receivers (front-end) and readers & outlets (back-end).
Index ¶
- type MemStore
- func (m *MemStore) Get(b *bucket.Bucket) error
- func (s *MemStore) Health() bool
- func (m *MemStore) MaxPartitions() uint64
- func (m *MemStore) Now() time.Time
- func (m *MemStore) Put(b *bucket.Bucket) error
- func (m *MemStore) Scan(schedule time.Time) (<-chan *bucket.Bucket, error)
- func (m *MemStore) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type RedisStore
- func (s *RedisStore) Flush()
- func (s *RedisStore) Get(b *bucket.Bucket) error
- func (s *RedisStore) Health() bool
- func (s *RedisStore) MaxPartitions() uint64
- func (s *RedisStore) Now() time.Time
- func (s *RedisStore) Put(b *bucket.Bucket) error
- func (s *RedisStore) Scan(schedule time.Time) (<-chan *bucket.Bucket, error)
- func (s *RedisStore) ServeHTTP(w http.ResponseWriter, r *http.Request)
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisStore ¶
func NewRedisStore ¶
func NewRedisStore(cfg *conf.D) *RedisStore
func (*RedisStore) Flush ¶
func (s *RedisStore) Flush()
func (*RedisStore) MaxPartitions ¶
func (s *RedisStore) MaxPartitions() uint64
func (*RedisStore) ServeHTTP ¶
func (s *RedisStore) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.