Documentation
¶
Index ¶
- type Repository
- func (repo *Repository) DeleteDialog(id string) (*neocortex.Dialog, error)
- func (repo *Repository) GetAllDialogs() ([]*neocortex.Dialog, error)
- func (repo *Repository) GetDialogByID(id string) (*neocortex.Dialog, error)
- func (repo *Repository) SaveNewDialog(dialog *neocortex.Dialog) (*neocortex.Dialog, error)
- func (repo *Repository) UpdateDialog(dialog *neocortex.Dialog) (*neocortex.Dialog, 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(path string) (*Repository, error)
func (*Repository) DeleteDialog ¶
func (repo *Repository) DeleteDialog(id string) (*neocortex.Dialog, error)
func (*Repository) GetAllDialogs ¶
func (repo *Repository) GetAllDialogs() ([]*neocortex.Dialog, error)
func (*Repository) GetDialogByID ¶
func (repo *Repository) GetDialogByID(id string) (*neocortex.Dialog, error)
func (*Repository) SaveNewDialog ¶
func (*Repository) UpdateDialog ¶
Click to show internal directories.
Click to hide internal directories.