kiwimix/pkg/stackops/generate.go

25 lines
540 B
Go
Raw Normal View History

2023-06-20 21:44:50 +00:00
package stackops
import (
"time"
basetypes "code.apps.glenux.net/glenux/kiwimix/pkg/basetypes"
)
2023-06-20 21:44:50 +00:00
// GeneratorLimit is a type definining
type GenerateConfig struct {
DateBegin *time.Time
DateEnd *time.Time
2023-06-20 21:44:50 +00:00
TimeBegin *time.Time
TimeEnd *time.Time
}
type GenerateStackOperation struct{}
var _ StackOperation = (*GenerateStackOperation)(nil)
2023-06-20 21:44:50 +00:00
// generate events that last all day (from X hour to Y hour)
func (op *GenerateStackOperation) Execute(stack *basetypes.Stack, str string) (*basetypes.Stack, error) {
return nil, nil
2023-06-20 21:44:50 +00:00
}