Documentation ¶
Index ¶
- type Service
- func (s *Service) Create(ctx context.Context, experiment *experimentModel.Experiment) error
- func (s *Service) CreateBatch(ctx context.Context, experiments []experimentModel.Experiment) error
- func (s *Service) Delete(ctx context.Context, experiment *experimentModel.Experiment) error
- func (s *Service) DeleteAllExpired(ctx context.Context) (int64, error)
- func (s *Service) DeleteBatch(ctx context.Context, experiments []experimentModel.Experiment) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(experimentRepository experimentRepository) *Service
func (*Service) Create ¶
func (s *Service) Create(ctx context.Context, experiment *experimentModel.Experiment) error
func (*Service) CreateBatch ¶
func (s *Service) CreateBatch(ctx context.Context, experiments []experimentModel.Experiment) error
func (*Service) Delete ¶
func (s *Service) Delete(ctx context.Context, experiment *experimentModel.Experiment) error
func (*Service) DeleteAllExpired ¶
func (*Service) DeleteBatch ¶
func (s *Service) DeleteBatch(ctx context.Context, experiments []experimentModel.Experiment) error
Click to show internal directories.
Click to hide internal directories.