Documentation ¶
Index ¶
Constants ¶
View Source
const ( DownloadingFile = "DownloadingFile" FileDownloaded = "FileDownloaded" ProcessingFile = "ProcessingFile" FileProcessed = "FileProcessed" UploadingFile = "UploadingFile" FileUploaded = "FileUploaded" )
Variables ¶
View Source
var ( GroupFileDownloaded = S{DownloadingFile, FileDownloaded} GroupFileProcessed = S{ProcessingFile, FileProcessed} GroupFileUploaded = S{UploadingFile, FileUploaded} )
View Source
var Names = S{DownloadingFile, FileDownloaded, ProcessingFile, FileProcessed, UploadingFile, FileUploaded}
Names is an ordered list of all the state names.
View Source
var States = am.Struct{ DownloadingFile: {Remove: GroupFileDownloaded}, FileDownloaded: {Remove: GroupFileDownloaded}, ProcessingFile: { Auto: true, Require: S{FileDownloaded}, Remove: GroupFileProcessed, }, FileProcessed: {Remove: GroupFileProcessed}, UploadingFile: { Auto: true, Require: S{FileProcessed}, Remove: GroupFileUploaded, }, FileUploaded: {Remove: GroupFileUploaded}, }
States map defines relations and properties of states.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.