memory

package
v0.0.0-...-3e974fb Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package memory contains a in-memory benchmark wrapper implementation through the use of Go's maps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

type Wrapper struct {
	// contains filtered or unexported fields
}

func (*Wrapper) Clear

func (w *Wrapper) Clear()

func (*Wrapper) Connect

func (w *Wrapper) Connect(opts benchmark.ConnectOpts)

func (*Wrapper) Get

func (w *Wrapper) Get(id string) benchmark.Document

func (*Wrapper) GetAll

func (w *Wrapper) GetAll() []benchmark.Document

func (*Wrapper) Put

func (w *Wrapper) Put(doc benchmark.Document)

func (*Wrapper) Update

func (w *Wrapper) Update(doc benchmark.Document)

Jump to

Keyboard shortcuts

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