Version: v0.4.1 Latest Latest

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

Go to latest
Published: Apr 25, 2015 License: Apache-2.0 Imports: 14 Imported by: 0




View Source
const TopResultTag = "id"


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


This section is empty.


type Result added in v0.4.0

type Result struct {
	// contains filtered or unexported fields

type Session added in v0.3.1

type Session struct {
	// contains filtered or unexported fields

func NewSession added in v0.3.1

func NewSession(qs graph.QuadStore, timeout time.Duration, persist bool) *Session

func (*Session) Clear added in v0.4.1

func (s *Session) Clear()

func (*Session) Collate added in v0.4.1

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

Web stuff

func (*Session) Debug added in v0.4.1

func (s *Session) Debug(ok bool)

func (*Session) Execute added in v0.4.1

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

func (*Session) Format added in v0.4.1

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

func (*Session) Parse added in v0.4.1

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

func (*Session) Results added in v0.4.1

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

func (*Session) ShapeOf added in v0.4.1

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