Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateModel ¶
CreateModel type
type Model ¶
type Model struct { ID kernel.ID Type string Name string Description string Layout string Children []kernel.ID }
Model type
type Reader ¶
type Reader interface { // GetByID get by id GetByID(context.Context, kernel.MemberID) (*Model, error) // GetByBoardID gets lanes by board id GetByBoardID(context.Context, kernel.ID) ([]*ListModel, error) // GetByLaneID gets lanes by lane id GetByLaneID(context.Context, kernel.MemberID) ([]*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 lane Create(context.Context, kernel.ID, *CreateModel) (kernel.ID, error) // Layout lane Layout(context.Context, kernel.MemberID, string) error // Name lane Name(context.Context, kernel.MemberID, string) error // Describe lane Describe(context.Context, kernel.MemberID, string) error // Remove lane Remove(context.Context, kernel.MemberID) error // AppendChild to lane AppendChild(context.Context, kernel.MemberID, kernel.ID) error // ExcludeChild from lane ExcludeChild(context.Context, kernel.MemberID, kernel.ID) error }
Writer interface
Click to show internal directories.
Click to hide internal directories.