Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyService = errors.New("service is nil")
Functions ¶
This section is empty.
Types ¶
type ServicesUsecase ¶
type ServicesUsecase struct {
// contains filtered or unexported fields
}
func NewServicesUsecase ¶
func NewServicesUsecase(repo domain.ServicesRepository) *ServicesUsecase
func (*ServicesUsecase) CreateService ¶
func (u *ServicesUsecase) CreateService(ctx context.Context, req *runpb.CreateServiceRequest) error
func (*ServicesUsecase) ListServices ¶
func (u *ServicesUsecase) ListServices(ctx context.Context, req *runpb.ListServicesRequest) ([]*runpb.Service, string, error)
Click to show internal directories.
Click to hide internal directories.