gizmo

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: Apache-2.0 Imports: 15 Imported by: 45

Documentation

Index

Constants

View Source
const Name = "gizmo"
View Source
const TopResultTag = "id"

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	Meta bool
	Val  interface{}
	Tags map[string]graph.Value
}

func (*Result) Err

func (r *Result) Err() error

func (*Result) Result

func (r *Result) Result() interface{}

type Session

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

func NewSession

func NewSession(qs graph.QuadStore) *Session

func (*Session) Clear

func (s *Session) Clear()

func (*Session) Collate

func (s *Session) Collate(result query.Result)

func (*Session) Execute

func (s *Session) Execute(ctx context.Context, qu string, out chan query.Result, limit int)

func (*Session) FormatREPL

func (s *Session) FormatREPL(result query.Result) string

func (*Session) Results

func (s *Session) Results() (interface{}, error)

func (*Session) ShapeOf

func (s *Session) ShapeOf(qu string) (interface{}, error)

Jump to

Keyboard shortcuts

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