Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendToastMessage ¶
func SendToastMessage(rw http.ResponseWriter, r *http.Request, message string)
Types ¶
type Store ¶
type Store interface { GetBook(id int64) (*dusk.Book, error) GetAllBooks() (dusk.Books, error) CreateBook(b *dusk.Book) (*dusk.Book, error) UpdateBook(id int64, b *dusk.Book) (*dusk.Book, error) DeleteBook(id int64) error GetAuthor(id int64) (*dusk.Author, error) GetAllAuthors() (dusk.Authors, error) GetAllBooksFromAuthor(id int64) (dusk.Books, error) CreateAuthor(a *dusk.Author) (*dusk.Author, error) UpdateAuthor(id int64, a *dusk.Author) (*dusk.Author, error) DeleteAuthor(id int64) error GetTag(id int64) (*dusk.Tag, error) GetAllTags() (dusk.Tags, error) GetAllBooksFromTag(id int64) (dusk.Books, error) CreateTag(t *dusk.Tag) (*dusk.Tag, error) UpdateTag(id int64, t *dusk.Tag) (*dusk.Tag, error) DeleteTag(id int64) error }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.