fastpebble

package
v0.0.0-...-0d97408 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Batch(batch *entity.BatchRequest) (*[]entity.KeyValue, error)
	Scan(sr entity.ScanRequest) (*[]entity.KeyValue, error)
	Set(kv *entity.KeyValue) (*entity.KeyValue, error)
	Get(key string) (*entity.KeyValue, error)
	Delete(key string) error
}

func NewRepository

func NewRepository() Repository

type Service

type Service interface {
	Batch(batch *entity.BatchRequest) (*[]entity.KeyValue, error)
	Scan(sr entity.ScanRequest) (*[]entity.KeyValue, error)
	Set(kv *entity.KeyValue) (*entity.KeyValue, error)
	Get(key string) (*entity.KeyValue, error)
	Delete(key string) error
}

func NewService

func NewService(r Repository) Service

Jump to

Keyboard shortcuts

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