Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader interface { // GetByID gets card by id GetByID(context.Context, kernel.MemberID) (*Model, error) // GetByLaneID gets cards by lane id GetByLaneID(context.Context, kernel.MemberID) ([]*Model, 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 card Create(context.Context, kernel.ID, *CreateModel) (kernel.ID, error) // Name card Name(context.Context, kernel.MemberID, string) error // Describe card Describe(context.Context, kernel.MemberID, string) error // Remove card Remove(context.Context, kernel.MemberID) error }
Writer interface
Click to show internal directories.
Click to hide internal directories.