drop

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2019 License: MIT Imports: 1 Imported by: 0

README

Drop

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Record

type Record interface {
	ID() int64
	Text() string
	Address() string
}

type StorageService

type StorageService interface {
	PutRecord(family string, rec Record) (int64, error)
	DeleteRecord(family string, key int64) error
	GetRecord(family string, key int64) (Record, error)

	AllRecords(ctx context.Context, family string) (<-chan Record, int64)
	AllCreateEventsAfter(ctx context.Context, family string, lastId int64) <-chan Record
	AllDeleteEvents(ctx context.Context, family string) <-chan Record
}

Directories

Path Synopsis
cmd
storage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL