autumn_clientv1

package
v0.0.0-...-6aa601a Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutumnLib

type AutumnLib struct {
	utils.SafeMutex //protect regions and psDetails
	// contains filtered or unexported fields
}

func NewAutumnLib

func NewAutumnLib(etcdAddr []string) *AutumnLib

func (*AutumnLib) Close

func (lib *AutumnLib) Close()

func (*AutumnLib) Connect

func (lib *AutumnLib) Connect() error

func (*AutumnLib) Delete

func (lib *AutumnLib) Delete(ctx context.Context, key []byte) error

func (*AutumnLib) Get

func (lib *AutumnLib) Get(ctx context.Context, key []byte) ([]byte, error)

func (*AutumnLib) Put

func (lib *AutumnLib) Put(ctx context.Context, key, value []byte) error

func (*AutumnLib) Range

func (lib *AutumnLib) Range(ctx context.Context, prefix []byte, start []byte, limit uint32) ([][]byte, bool, error)

func (*AutumnLib) SplitPart

func (lib *AutumnLib) SplitPart(ctx context.Context, partID uint64) error

Jump to

Keyboard shortcuts

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