storage

package module
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package storage provides actors/handlers for accessing a triple+event storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanUp

func CleanUp(ctx *b.Context, spec m.Map, msg *b.Message)

func QueryTriples

func QueryTriples(ctx *b.Context, spec m.Map, msg *b.Message)

func Start

func Start(ctx *b.Context)

Types

type Property

type Property struct {
	Predicate string
	Objects   []TypedValue
}

type StorageState

type StorageState struct {
	DB *sql.DB
}

func (*StorageState) GetSessionMailbox

func (st *StorageState) GetSessionMailbox(sid string) chan b.Message

type Triple

type Triple struct {
	STName string
	SText  string
	PText  string
	OTName string
	OText  string
	//TimeStamp time.Time
	TimeStamp string
}

type TypedValue

type TypedValue struct {
	TypeName string
	Value    interface{}
}

Directories

Path Synopsis
Package main is the top-level command line starter for an integrator instance using the storage module.
Package main is the top-level command line starter for an integrator instance using the storage module.

Jump to

Keyboard shortcuts

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