package
Version:
v0.0.0-...-f3acd81
Opens a new window with list of versions in this module.
Published: Jun 20, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Cron exécute function régulièrement, avec l'interval fourni.
Il retourne une fonction stop().
IsBatchID retourne `true` si `batchID` est un identifiant de Batch.
type AdminBatch struct {
ID AdminID `json:"id" bson:"_id"`
Files BatchFiles `json:"files" bson:"files"`
Name string `json:"name" bson:"name"`
Readonly bool `json:"readonly" bson:"readonly"`
CompleteTypes []string `json:"complete_types" bson:"complete_types"`
Params adminBatchParams `json:"params" bson:"param"`
}
AdminBatch metadata Batch
MockBatch with a map[type][]filepaths
type AdminID struct {
Key string `json:"key" bson:"key"`
Type string `json:"type" bson:"type"`
}
AdminID Collection key
BatchFile encapsule un fichier mentionné dans un Batch
FilePath retourne le chemin vers le fichier, sans préfixe
IsCompressed est vrai si le fichier est compressé
Prefix retourne le préfixe éventuellement présent devant le nom de fichier
BatchFiles fichiers mappés par type
Source Files
¶
Click to show internal directories.
Click to hide internal directories.