gremlin

package
v0.0.0-...-152623e Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const TopResultTag = "id"

Variables

View Source
var ErrKillTimeout = errors.New("query timed out")

Functions

This section is empty.

Types

type Result

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

type Session

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

func NewSession

func NewSession(g Graph, timeout time.Duration, persist bool) *Session

func (*Session) Clear

func (s *Session) Clear()

func (*Session) Collate

func (s *Session) Collate(result interface{})

Web stuff

func (*Session) Debug

func (s *Session) Debug(ok bool)

func (*Session) Execute

func (s *Session) Execute(input string, out chan interface{}, _ int)

func (*Session) Format

func (s *Session) Format(result interface{}) string

func (*Session) Parse

func (s *Session) Parse(input string) (query.ParseResult, error)

func (*Session) Results

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

func (*Session) ShapeOf

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

Jump to

Keyboard shortcuts

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