Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdminBatch ¶
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 struct { DateDebut time.Time `json:"date_debut" bson:"date_debut"` DateFin time.Time `json:"date_fin" bson:"date_fin"` DateFinEffectif time.Time `json:"date_fin_effectif" bson:"date_fin_effectif"` } `json:"params" bson:"param"` }
AdminBatch metadata Batch
func MockBatch ¶
func MockBatch(filetype string, filepaths []string) AdminBatch
MockBatch with a map[type][]filepaths
func (*AdminBatch) New ¶
func (batch *AdminBatch) New(batchKey string) error
New crée un nouveau batch
Click to show internal directories.
Click to hide internal directories.