Documentation ¶
Overview ¶
Package project implements the project service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project struct {
// contains filtered or unexported fields
}
Project is the project service.
func NewService ¶
func NewService(projectRepository repository.Project, opts ...serviceOptions.Opts) *Project
NewService initialises the project service.
func (*Project) CreateProject ¶
func (s *Project) CreateProject(ctx context.Context, createProjectRequest *app.CreateProjectRequest) (*app.Project, error)
CreateProject creates a new project.
func (*Project) ListProjects ¶
func (s *Project) ListProjects(ctx context.Context, getProjectsRequest *app.ListProjectsRequest) ([]*app.Project, error)
ListProjects returns a list of projects.
Click to show internal directories.
Click to hide internal directories.