Documentation
¶
Overview ¶
Package projects is the HTTP adapter of the project use cases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler serves the project routes.
type Service ¶
type Service interface {
List(ctx context.Context) ([]models.Project, error)
Create(ctx context.Context, name string) (*models.Project, error)
Rename(ctx context.Context, identifier string, change project.Change) (*models.Project, error)
Delete(ctx context.Context, id uint) error
}
Service is what the handlers need from the project use cases.
Click to show internal directories.
Click to hide internal directories.