boltdb

package
v0.0.0-...-d110d06 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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 (repo *Repository) SaveNewDialog(dialog *neocortex.Dialog) (*neocortex.Dialog, error)

func (*Repository) UpdateDialog

func (repo *Repository) UpdateDialog(dialog *neocortex.Dialog) (*neocortex.Dialog, error)

Jump to

Keyboard shortcuts

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