Documentation ¶
Index ¶
- Constants
- func FromJson(json string, value interface{}) error
- func FromXml(xml string, value interface{}) error
- func Initialize()
- func ToJson(value interface{}) (string, error)
- func ToXml(value interface{}) (string, error)
- type Media
- type SliceAddedEvent
- type SliceCompletedEvent
- type StdStream
- type TaskAddedEvent
- type TaskCancelledEvent
- type TaskCompletedEvent
- type TaskType
Constants ¶
View Source
const ( StdInFileDescriptor = 0 StdOutFileDescriptor = 1 StdErrFileDescriptor = 2 Merge TaskType = "MERGE" Split TaskType = "SPLIT" )
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize()
Types ¶
type Media ¶
func (Media) GetSubstitutedPath ¶
func (Media) RelativePath ¶
func (*Media) UnmarshalJSON ¶
type SliceAddedEvent ¶
type SliceAddedEvent struct { JobID string `json:"job_id"` SliceNr int Args []string `xml:"Args>Arg,omitempty"` // contains filtered or unexported fields }
func DeserializeSliceAddedEvent ¶
func DeserializeSliceAddedEvent(d *amqp.Delivery) (*SliceAddedEvent, error)
type SliceCompletedEvent ¶
type TaskAddedEvent ¶
type TaskAddedEvent struct { JobID string `json:"job_id"` Media Media SliceSize int `json:"slice_size"` Type TaskType `json:"type"` // contains filtered or unexported fields }
func DeserializeTaskAddedEvent ¶
func DeserializeTaskAddedEvent(d *amqp.Delivery) (*TaskAddedEvent, error)
type TaskCancelledEvent ¶
type TaskCancelledEvent struct { JobID string `json:"job_id"` // contains filtered or unexported fields }
func DeserializeTaskCancelledEvent ¶
func DeserializeTaskCancelledEvent(d *amqp.Delivery) (*TaskCancelledEvent, error)
type TaskCompletedEvent ¶
Click to show internal directories.
Click to hide internal directories.