query

package
v0.4.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTP added in v0.4.1

type HTTP interface {
	// Return whether the string is a valid expression.
	Parse(string) (ParseResult, error)
	// Runs the query and returns individual results on the channel.
	Execute(string, chan interface{}, int)
	ShapeOf(string) (interface{}, error)
	Collate(interface{})
	Results() (interface{}, error)
	Clear()
}

type ParseResult

type ParseResult int
const (
	Parsed ParseResult = iota
	ParseMore
	ParseFail
)

type Session

type Session interface {
	// Return whether the string is a valid expression.
	Parse(string) (ParseResult, error)
	Execute(string, chan interface{}, int)
	Format(interface{}) string
	Debug(bool)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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