Documentation ¶
Index ¶
- Constants
- func BuildEnviron(ses *Session) *otto.Otto
- type GremlinResult
- type Session
- func (ses *Session) BuildJson(result interface{})
- func (ses *Session) ClearJson()
- func (s *Session) ExecInput(input string, out chan interface{}, limit int)
- func (ses *Session) GetJson() ([]interface{}, error)
- func (s *Session) GetQuery(input string, output_struct chan map[string]interface{})
- func (s *Session) InputParses(input string) (query.ParseResult, error)
- func (s *Session) SendResult(result *GremlinResult) bool
- func (s *Session) ToText(result interface{}) string
- func (s *Session) ToggleDebug()
Constants ¶
View Source
const TopResultTag = "id"
Variables ¶
This section is empty.
Functions ¶
func BuildEnviron ¶ added in v0.3.1
Types ¶
type GremlinResult ¶
type GremlinResult 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(inputTripleStore graph.TripleStore, timeoutSec int, persist bool) *Session
func (*Session) BuildJson ¶ added in v0.3.1
func (ses *Session) BuildJson(result interface{})
Web stuff
func (*Session) InputParses ¶ added in v0.3.1
func (s *Session) InputParses(input string) (query.ParseResult, error)
func (*Session) SendResult ¶ added in v0.3.1
func (s *Session) SendResult(result *GremlinResult) bool
func (*Session) ToggleDebug ¶ added in v0.3.1
func (s *Session) ToggleDebug()
Click to show internal directories.
Click to hide internal directories.