Documentation ¶
Index ¶
- type Record
- type StorageService
- func (s *StorageService) AllCreateEventsAfter(ctx context.Context, family string, lastId int64) <-chan drop.Record
- func (s *StorageService) AllDeleteEvents(ctx context.Context, family string) <-chan drop.Record
- func (s *StorageService) AllRecordsAfter(ctx context.Context, family string, startTime int64) (<-chan drop.Record, int64)
- func (s *StorageService) DeleteRecord(family string, ikey int64) error
- func (s *StorageService) GetRecord(family string, ikey int64) (drop.Record, error)
- func (s *StorageService) PutRecord(family string, rec drop.Record) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Record ¶
type StorageService ¶
type StorageService struct {
// contains filtered or unexported fields
}
func NewStorageService ¶
func NewStorageService(address string, db int) *StorageService
func (*StorageService) AllCreateEventsAfter ¶
func (*StorageService) AllDeleteEvents ¶
func (*StorageService) AllRecordsAfter ¶ added in v0.2.0
func (*StorageService) DeleteRecord ¶
func (s *StorageService) DeleteRecord(family string, ikey int64) error
Click to show internal directories.
Click to hide internal directories.