handler

package
v0.0.0-...-e498ba9 Latest Latest
Warning

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

Go to latest
Published: May 1, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArchiveCard

func ArchiveCard(card *model.CardIdentifier) (bool, error)

func ArchiveList

func ArchiveList(list *model.ListIdentifier) (bool, error)

func CreateBoard

func CreateBoard(newBoard *model.NewBoard) (*model.Board, error)

func CreateCard

func CreateCard(card *model.NewCard) (*model.Card, error)

func CreateList

func CreateList(list *model.NewList) (*model.List, error)

func DeleteCard

func DeleteCard(card *model.CardIdentifier) (bool, error)

func DeleteList

func DeleteList(list *model.ListIdentifier) (bool, error)

func FindAllUnarchivedCardsFromList

func FindAllUnarchivedCardsFromList(listID string) ([]*model.Card, error)

func FindAllUnarchivedListsFromBoard

func FindAllUnarchivedListsFromBoard(boardID string) ([]*model.List, error)

func FindBoardByID

func FindBoardByID(ID string) (*model.Board, error)

func FindCardByID

func FindCardByID(ID string) (*model.Card, error)

func FindListByID

func FindListByID(ID string) (*model.List, error)

func InitHandlers

func InitHandlers(d *db.MongoDatabase) error

func UpdateCardOrder

func UpdateCardOrder(changeCardOrder *model.ChangeCardOrder) (bool, error)

func UpdateListOrder

func UpdateListOrder(changeListOrder *model.ChangeListOrder) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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