Documentation
¶
Overview ¶
Package tasktracker backs the TaskTrackersAPI wire contract (unchanged) on top of the generic external_connections + MoM path instead of a dedicated task_trackers table/client. Every "tracker" is a trello external_connections row; "boards" are fetched live via MoM's trello list_boards tool rather than a bespoke HTTP client.
Index ¶
- type Service
- func (s *Service) AddTracker(ctx context.Context, apiKey, apiToken string) (domain.TaskTracker, []domain.TrelloBoard, error)
- func (s *Service) DeleteTracker(ctx context.Context, trackerUuid uuid.UUID) error
- func (s *Service) ListTrackers(ctx context.Context) ([]domain.TaskTracker, error)
- func (s *Service) ListTrelloBoards(ctx context.Context, trackerUuid uuid.UUID) ([]domain.TrelloBoard, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New( externalConns repository.ExternalConnectionRepo, externalConnsSvc service.ExternalConnectionService, momSvc service.MomService, ) *Service
func (*Service) AddTracker ¶
func (s *Service) AddTracker( ctx context.Context, apiKey, apiToken string, ) (domain.TaskTracker, []domain.TrelloBoard, error)
func (*Service) DeleteTracker ¶
func (*Service) ListTrackers ¶
func (*Service) ListTrelloBoards ¶
Click to show internal directories.
Click to hide internal directories.