Versions in this module Expand all Collapse all v0 v0.1.0 Mar 23, 2025 Changes in this version + type Service struct + func NewService(cfg *config.Config, log *logger.Logger, ...) *Service + func (s *Service) CreateFunction(userID int, name, description, sourceCode string, timeout, memory int, ...) (*models.Function, error) + func (s *Service) DeleteFunction(id, userID int) error + func (s *Service) ExecuteFunction(ctx context.Context, id, userID int, params map[string]interface{}, async bool) (*models.ExecutionResult, error) + func (s *Service) GetExecution(executionID string, userID int) (*models.ExecutionResult, error) + func (s *Service) GetFunction(id, userID int) (*models.Function, error) + func (s *Service) ListExecutions(functionID, userID int, page, limit int) ([]*models.Execution, error) + func (s *Service) ListFunctions(userID int, page, limit int) ([]*models.Function, error) + func (s *Service) UpdateFunction(id, userID int, name, description, sourceCode string, timeout, memory int, ...) (*models.Function, error)