Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // List returns a list of dialogs for the given entity type-ID pair List(eType, id string) []string // Bind binds the given dialog to an entity type-ID pair Bind(dialog, eType, id string) // Unbind removes bindings for the given entity type-ID pair Unbind(eType, id string) // UnbindDialog removes all bindings for the given dialog UnbindDialog(dialog string) }
Manager is a dialog manager, which tracks associations between dialogs and entities
func NewMemManager ¶
func NewMemManager() Manager
NewMemManager returns a new in-memory dialog manager
Click to show internal directories.
Click to hide internal directories.