Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateModel ¶
CreateModel type
type LaneModel ¶
type LaneModel struct { ID kernel.ID Type string Name string Description string Layout string Lanes []LaneModel Cards []CardModel }
LaneModel type
type ListModel ¶
type ListModel struct { ID kernel.ID Owner string Name string Description string Layout string State string }
ListModel type
type Model ¶
type Model struct { ID kernel.ID Owner string Name string Description string Layout string State string Lanes []LaneModel }
Model type
type Reader ¶
type Reader interface { // GetByID get by id GetByID(context.Context, kernel.ID) (*Model, error) // GetByOwner boards GetByOwner(context.Context, string) ([]*ListModel, error) }
Reader interface
type Service ¶
Service interface
func CreateService ¶
func CreateService(s tx.Service, r persistence.Repository, l logger.Logger) Service
CreateService instance
type Writer ¶
type Writer interface { // Create board Create(context.Context, *CreateModel) (kernel.ID, error) // Layout board Layout(context.Context, kernel.ID, string) error // State board State(context.Context, kernel.ID, string) error // Name board Name(context.Context, kernel.ID, string) error // Describe board Describe(context.Context, kernel.ID, string) error Share(context.Context, kernel.ID, bool) error // Remove board by id Remove(context.Context, kernel.ID) error // AppendLane to board AppendLane(context.Context, kernel.MemberID) error // ExcludeLane from board ExcludeLane(context.Context, kernel.MemberID) error }
Writer interface
Click to show internal directories.
Click to hide internal directories.