Documentation ¶
Index ¶
- type Repository
- func (repo *Repository) AllDialogs(frame neocortex.TimeFrame) ([]*neocortex.Dialog, error)
- func (repo *Repository) AllViews() ([]*neocortex.View, error)
- func (repo *Repository) ContextVars() []string
- func (repo *Repository) DeleteDialog(id string) (*neocortex.Dialog, error)
- func (repo *Repository) DeleteView(id string) (*neocortex.View, error)
- func (repo *Repository) DialogNodes() []string
- func (repo *Repository) DialogsByView(viewID string, frame neocortex.TimeFrame) ([]*neocortex.Dialog, error)
- func (repo *Repository) Entities() []string
- func (repo *Repository) FindViewByName(name string) ([]*neocortex.View, error)
- func (repo *Repository) GetActionVar(name string) (string, error)
- func (repo *Repository) GetDialogByID(id string) (*neocortex.Dialog, error)
- func (repo *Repository) GetViewByID(id string) (*neocortex.View, error)
- func (repo *Repository) Intents() []string
- func (repo *Repository) RegisterContextVar(value string) error
- func (repo *Repository) RegisterDialogNode(name string) error
- func (repo *Repository) RegisterEntity(entity string) error
- func (repo *Repository) RegisterIntent(intent string) error
- func (repo *Repository) SaveDialog(dialog *neocortex.Dialog) error
- func (repo *Repository) SaveView(view *neocortex.View) error
- func (repo *Repository) SetActionVar(name string, value string) error
- func (repo *Repository) Summary(frame neocortex.TimeFrame) (*neocortex.Summary, error)
- func (repo *Repository) UpdateView(view *neocortex.View) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func New ¶
func New(uri string) (*Repository, error)
func (*Repository) AllDialogs ¶
func (*Repository) ContextVars ¶
func (repo *Repository) ContextVars() []string
func (*Repository) DeleteDialog ¶
func (repo *Repository) DeleteDialog(id string) (*neocortex.Dialog, error)
func (*Repository) DeleteView ¶
func (repo *Repository) DeleteView(id string) (*neocortex.View, error)
func (*Repository) DialogNodes ¶
func (repo *Repository) DialogNodes() []string
func (*Repository) DialogsByView ¶
func (*Repository) Entities ¶
func (repo *Repository) Entities() []string
func (*Repository) FindViewByName ¶
func (repo *Repository) FindViewByName(name string) ([]*neocortex.View, error)
func (*Repository) GetActionVar ¶
func (repo *Repository) GetActionVar(name string) (string, error)
func (*Repository) GetDialogByID ¶
func (repo *Repository) GetDialogByID(id string) (*neocortex.Dialog, error)
func (*Repository) GetViewByID ¶
func (repo *Repository) GetViewByID(id string) (*neocortex.View, error)
func (*Repository) Intents ¶
func (repo *Repository) Intents() []string
func (*Repository) RegisterContextVar ¶
func (repo *Repository) RegisterContextVar(value string) error
func (*Repository) RegisterDialogNode ¶
func (repo *Repository) RegisterDialogNode(name string) error
func (*Repository) RegisterEntity ¶
func (repo *Repository) RegisterEntity(entity string) error
func (*Repository) RegisterIntent ¶
func (repo *Repository) RegisterIntent(intent string) error
func (*Repository) SaveDialog ¶
func (repo *Repository) SaveDialog(dialog *neocortex.Dialog) error
func (*Repository) SetActionVar ¶
func (repo *Repository) SetActionVar(name string, value string) error
func (*Repository) UpdateView ¶
func (repo *Repository) UpdateView(view *neocortex.View) error
! MAKE GOOD UPDATE IN UPDATE VIEW
Click to show internal directories.
Click to hide internal directories.