Documentation
¶
Index ¶
Constants ¶
View Source
const DELETE_BUCKET = "DeleteBucket"
Variables ¶
This section is empty.
Functions ¶
func CheckIf24HoursPassed ¶
CheckIf24HoursPassed Checks if the current time is before 24 hours after the time 's'.
func ExecSchedules ¶
func NewSchedule ¶
Types ¶
type Factory ¶
type Factory struct {
Schedule Schedule
Dir func() config.DirPath
Join func(elem ...string) string
Stat func(name string) (os.FileInfo, error)
IsNotExist func(err error) bool
Marshal func(v any) ([]byte, error)
WriteFile func(name string, data []byte, perm os.FileMode) error
ReadFile func(name string) ([]byte, error)
Unmarshal func(data []byte, v any) error
MarshalIndent func(v any, prefix, indent string) ([]byte, error)
}
func InjectFactory ¶
Click to show internal directories.
Click to hide internal directories.