engine

package
v0.0.0-...-9c641cd Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	*toml.Tree
}

func NewConfiguration

func NewConfiguration(filename string) Configuration

func (*Configuration) Bool

func (self *Configuration) Bool(key string, def bool) bool

func (*Configuration) Duration

func (self *Configuration) Duration(key string, def time.Duration) time.Duration

func (*Configuration) Float32

func (self *Configuration) Float32(key string, def float32) float32

func (*Configuration) Float64

func (self *Configuration) Float64(key string, def float64) float64

func (*Configuration) GetRandomUUID

func (self *Configuration) GetRandomUUID() string

func (*Configuration) Int

func (self *Configuration) Int(key string, def int) int

func (*Configuration) Int32

func (self *Configuration) Int32(key string, def int32) int32

func (*Configuration) Int64

func (self *Configuration) Int64(key string, def int64) int64

func (*Configuration) Int64Array

func (self *Configuration) Int64Array(key string, def []int64) []int64

func (*Configuration) IntArray

func (self *Configuration) IntArray(key string, def []int) []int

func (*Configuration) String

func (self *Configuration) String(key string, def string) string

func (*Configuration) StringArray

func (self *Configuration) StringArray(key string, def []string) []string

type Context

type Context struct {
	Configuration
	*Engine
}

func NewContext

func NewContext(configFile string) *Context

type Engine

type Engine struct {
	NLP   *nlp.NLPEngine
	Ready bool
	// contains filtered or unexported fields
}

func NewEngine

func NewEngine() *Engine

func (*Engine) InitNLP

func (e *Engine) InitNLP()

Jump to

Keyboard shortcuts

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