Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoardSource ¶
type BoardSource interface {
ListBoards() ([]*models.Board, error)
ListStarredBoards() ([]*models.Board, error)
ItemBoard(boardID string) (*models.Board, error)
ConfigureBoard(*models.BoardRequest) (int, error)
CreateConnectBoard(BoardID, ConnectedBoardID string) (int, error)
ListConnectBoard(BoardID string) ([]*models.Board, int, error)
DeleteConnectBoard(BoardID, ConnectBoardID string) (int, error)
}
type CardSource ¶
type CardSource interface {
ListCards(*models.Board) ([]*models.Card, error)
CreateCard(*models.CardRequest) (*models.Card, int, error)
UpdateCard(*models.CardRequest) (*models.Card, int, error)
DeleteCard(*models.CardRequest) (*models.Card, int, error)
ChangeProjectForCard(form *models.CardRequest, ToProjectID string) (*models.Card, int, error)
}
type CommentSource ¶
type DataSource ¶
type DataSource interface {
CardSource
BoardSource
CommentSource
UserSource
LabelSource
MilestoneSource
FileService
}
type FileService ¶
type FileService interface {
UploadFile(boardID string, file models.UploadForm) (*models.File, error)
}
FileService represents uploaded file
type LabelSource ¶
type MilestoneSource ¶
Click to show internal directories.
Click to hide internal directories.