query

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2014 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 HttpSession

type HttpSession interface {
	// Return whether the string is a valid expression.
	InputParses(string) (ParseResult, error)
	// Runs the query and returns individual results on the channel.
	ExecInput(string, chan interface{}, int)
	GetQuery(string, chan map[string]interface{})
	BuildJson(interface{})
	GetJson() ([]interface{}, error)
	ClearJson()
	ToggleDebug()
}

type ParseResult

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

type Session

type Session interface {
	// Return whether the string is a valid expression.
	InputParses(string) (ParseResult, error)
	ExecInput(string, chan interface{}, int)
	ToText(interface{}) string
	ToggleDebug()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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