24 lines
540 B
Go
24 lines
540 B
Go
package stackops
|
|
|
|
import (
|
|
"time"
|
|
|
|
basetypes "code.apps.glenux.net/glenux/kiwimix/pkg/basetypes"
|
|
)
|
|
|
|
// GeneratorLimit is a type definining
|
|
type GenerateConfig struct {
|
|
DateBegin *time.Time
|
|
DateEnd *time.Time
|
|
TimeBegin *time.Time
|
|
TimeEnd *time.Time
|
|
}
|
|
|
|
type GenerateStackOperation struct{}
|
|
|
|
var _ StackOperation = (*GenerateStackOperation)(nil)
|
|
|
|
// 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
|
|
}
|