inmemory

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2016 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Package inmemory provides a in-memory implementation of graphstore.Service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphStore added in v0.0.25

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

GraphStore implements the graphstore.Service interface. A zero of this type is ready for use, and is safe for access by concurrent goroutines.

func (*GraphStore) Close added in v0.0.25

func (*GraphStore) Close(ctx context.Context) error

Close implements io.Closer. It never returns an error.

func (*GraphStore) Read added in v0.0.25

Read implements part of the graphstore.Service interface.

func (*GraphStore) Scan added in v0.0.25

Scan implements part of the graphstore.Service interface.

func (*GraphStore) Write added in v0.0.25

func (s *GraphStore) Write(ctx context.Context, req *spb.WriteRequest) error

Write implements part of the graphstore.Service interface.

Jump to

Keyboard shortcuts

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