projectservice

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectService

type ProjectService struct{}

ProjectService is a struct that have project service gRPC methods

func (ProjectService) CreateProject

CreateProject creates a project in project table and returns generated project ID

func (ProjectService) GetAllProjects

func (p ProjectService) GetAllProjects(ctx context.Context, _ *pb.Empty) (*pb.GetAllProjectResponse, error)

GetAllProjects returns all project list in project table

func (ProjectService) GetProject

func (p ProjectService) GetProject(ctx context.Context, request *pb.GetProjectRequest) (*pb.GetProjectResponse, error)

GetProject returns project's info from project table

func (ProjectService) UpdateProject

func (p ProjectService) UpdateProject(ctx context.Context, request *pb.UpdateProjectRequest) (*pb.GetProjectResponse, error)

UpdateProject is method for updating a project

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL