Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MachineHandlers ¶
type MachineHandlers struct {
// default handler for the build in Exception state
am.ExceptionHandler
BlobStore *BlobStore
Filename string
DownloadedName string
ProcessedFileName string
}
MachineHandlers is a struct of handlers & their data for the FileProcessing machine. None of the handlers can block.
func (*MachineHandlers) DownloadingFileState ¶
func (h *MachineHandlers) DownloadingFileState(e *am.Event)
DownloadingFileState is a _final_ entry handler for the DownloadingFile state.
func (*MachineHandlers) ProcessingFileEnd ¶
func (h *MachineHandlers) ProcessingFileEnd(e *am.Event)
ProcessingFileEnd is a _final_ exit handler for the ProcessingFile state.
func (*MachineHandlers) ProcessingFileState ¶
func (h *MachineHandlers) ProcessingFileState(e *am.Event)
ProcessingFileState is a _final_ entry handler for the ProcessingFile state.
func (*MachineHandlers) UploadingFileEnd ¶
func (h *MachineHandlers) UploadingFileEnd(e *am.Event)
UploadingFileEnd is a _final_ exit handler for the UploadingFile state.
func (*MachineHandlers) UploadingFileState ¶
func (h *MachineHandlers) UploadingFileState(e *am.Event)
UploadingFileState is a _final_ transition handler for the UploadingFile state.
Click to show internal directories.
Click to hide internal directories.